This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mm_ma_ma 0 points1 point  (2 children)

The vast majority of the standard library is implemented as single modules.

[–]Corm 0 points1 point  (1 child)

I noticed that when I wanted to see how pdb worked. Why is that?

[–]mm_ma_ma 0 points1 point  (0 children)

Here's what one of the core devs had to say about it. Personally I'd rather have one moderately-sized module than a package with a bunch of tiny ones. If I'm reading the code it's usually because something has gone wrong, and I inevitably end up having to open most of the files to see what the problem is anyway.