[Python-Dev] Rework nntlib?

Guido van Rossum guido at python.org
Wed Sep 15 05:33:49 CEST 2010


On Tue, Sep 14, 2010 at 8:06 PM, geremy condra <debatem1 at gmail.com> wrote:
> I ran some statistics on the number of times modules out of the stdlib
> got imported a few months ago and came up with a reasonably
> comprehensive list of the least-used things in the stdlib. For the
> record, since I wound up parsing import statements and know some
> garbage data got in, its reasonable to assume that a few otherwise
> valid imports aren't recorded here. But enough with the disclaimers.

Neat!

> I'm not sure what the name of the library was originally, but the word
> 'gopher' does not appear in any of the imports that I was able to
> parse in pypi. By contrast, nntplib and poplib are tied at 8, and as
> would be expected there are only a few recognizable names below that-
> aepack, aetypes, and posixfile are each stuck at 0; fractions,
> Bastion, and xdrlib have three, etc.
>
> The top five are os, sys, unittest, re, and time (in that order) with
> 27468, 18334, 14714, 13019, and 9906 imports respectively.

Looks like we did a poor job naming unittest. The Huffman-encoding
seems to have worked well for the others though.

> If it doesn't annoy I can post the whole list, or email it privately
> to the interested.

Do post.

-- 
--Guido van Rossum (python.org/~guido)


More information about the Python-Dev mailing list