[Python-Dev] Rework nntlib?
geremy condra
debatem1 at gmail.com
Wed Sep 15 05:18:33 CEST 2010
On Tue, Sep 14, 2010 at 8:07 PM, Steve Holden <steve at holdenweb.com> wrote:
> On 9/14/2010 11:06 PM, geremy condra wrote:
>> On Tue, Sep 14, 2010 at 2:22 PM, Steve Holden <steve at holdenweb.com> wrote:
>>> On 9/14/2010 4:40 PM, Jon Ribbens wrote:
>>>> On Tue, Sep 14, 2010 at 11:43:46AM -0500, skip at pobox.com wrote:
>>>>> We got rid of gopherlib a few years ago (deprecated in 2.5, presumably gone
>>>>> in 2.6). I suspect the NNTP protocol has a greatly diminished user base as
>>>>> well, GMANE's presence notwithstanding.
>>>>
>>>> NNTP is *very* considerably less dead than gopher.
>>>
>>> That's an interesting metric. Would you like to list the extant
>>> libraries implementing protocols that are *not* "*very* considerably
>>> less dead than gopher"? ;-)
>>>
>>> regards
>>> Steve
>>
>> 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.
>>
>> 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.
>>
>> If it doesn't annoy I can post the whole list, or email it privately
>> to the interested.
>>
>> Geremy Condra
>>
> Post it to the list. If people complain, they can complain at me.
>
> Thanks very much.
Ok then, on your head be it ;)
0 AL
0 ColorPicker
0 DEVICE
0 FL
0 FrameWork
0 Nav
0 PixMapWrapper
0 SUNAUDIODEV
0 aepack
0 aetypes
0 al
0 applesingle
0 autoGIL
0 buildtools
0 cd
0 cfmfile
0 dbhash
0 dl
0 dummy_threading
0 findertools
0 flp
0 fm
0 fpectl
0 gensuitemodule
0 icopen
0 imageop
0 imgfile
0 jpeg
0 macerrors
0 macostools
0 macresource
0 nis
0 posixfile
0 spwd
0 sunaudiodev
0 symtable
0 videoreader
0 winsound
1 Tix
1 audioop
2 ic
3 Bastion
3 binhex
3 dumbdbm
3 dummy_thread
3 fractions
3 future_builtins
3 mailcap
3 ossaudiodev
3 tabnanny
3 xdrlib
4 ScrolledText
4 macpath
4 stringprep
5 DocXMLRPCServer
5 GL
5 aifc
5 mimify
5 sunau
6 fl
6 pickletools
6 statvfs
6 turtle
7 W
8 codeop
8 multifile
8 nntplib
8 poplib
8 sndhdr
9 EasyDialogs
9 pipes
9 pyclbr
10 dbm
10 gdbm
10 imputil
11 MiniAEFrame
11 fpformat
11 numbers
14 CGIHTTPServer
14 pty
16 rexec
18 netrc
19 msvcrt
19 uu
20 rlcompleter
21 compileall
22 tty
24 lib2to3
24 mutex
25 chunk
25 mhlib
27 whichdb
28 robotparser
29 ssl
30 dircache
32 gl
33 runpy
34 posix
36 aetools
36 wave
37 termios
42 bdb
44 imaplib
46 ast
47 bsddb
47 imghdr
50 crypt
50 smtpd
53 Carbon
57 MimeWriter
57 msilib
60 cmath
66 filecmp
67 syslog
68 MacOS
73 cProfile
74 asynchat
74 repr
75 ftplib
76 htmllib
83 abc
91 quopri
93 pkgutil
98 anydbm
98 telnetlib
99 trace
102 formatter
104 __main__
104 readline
105 colorsys
110 _winreg
111 curses
113 plistlib
115 modulefinder
116 UserString
121 cookielib
125 mailbox
126 cgitb
128 bz2
128 sched
134 io
146 mimetools
147 pydoc
148 SimpleXMLRPCServer
154 mmap
155 user
156 site
157 symbol
159 zipimport
166 pstats
172 fileinput
173 encodings
179 py_compile
180 SimpleHTTPServer
181 profile
183 cmd
198 Tkinter
200 fcntl
206 copy_reg
225 linecache
226 hotshot
234 multiprocessing
262 dis
273 UserList
273 resource
287 SocketServer
289 shelve
297 sqlite3
317 grp
322 asyncore
335 timeit
339 keyword
345 sgmllib
363 token
367 test
383 parser
386 shlex
421 wsgiref
451 contextlib
458 unicodedata
471 tokenize
472 pwd
487 webbrowser
526 hmac
529 heapq
542 platform
573 gettext
594 pdb
597 popen2
607 json
608 marshal
619 smtplib
621 bisect
637 difflib
647 commands
657 BaseHTTPServer
677 Cookie
688 locale
695 zlib
708 HTMLParser
710 code
721 rfc822
748 compiler
759 gzip
759 select
771 ctypes
788 gc
796 binascii
812 getpass
822 __builtin__
854 htmlentitydefs
857 tarfile
869 decimal
872 xmlrpclib
903 csv
933 atexit
943 functools
946 exceptions
976 array
979 sha
1044 thread
1056 calendar
1064 zipfile
1070 UserDict
1078 new
1102 uuid
1148 Queue
1159 sets
1172 signal
1213 hashlib
1242 getopt
1276 email
1310 imp
1321 fnmatch
1328 mimetypes
1348 collections
1442 httplib
1469 cPickle
1505 md5
1614 weakref
1618 textwrap
1654 pickle
1722 errno
1729 stat
2020 pprint
2060 struct
2389 codecs
2391 ConfigParser
2406 operator
2578 math
2626 base64
2925 inspect
3013 cgi
3105 itertools
3250 xml
3318 glob
3402 __future__
3505 warnings
3549 socket
3722 urlparse
4014 traceback
4142 subprocess
4194 threading
4198 cStringIO
4224 string
4501 copy
4696 random
5088 shutil
5392 tempfile
5426 doctest
5642 optparse
5913 types
6185 StringIO
6522 urllib
7346 distutils
7930 datetime
8416 urllib2
9567 logging
9906 time
13019 re
14714 unittest
18334 sys
27468 os
Enjoy!
Geremy Condra
More information about the Python-Dev
mailing list