[Python-Dev] Great Renaming - Straw Man 0.2

Ka-Ping Yee ping@lfw.org
Sat, 25 Mar 2000 23:37:11 -0800 (PST)


Okay, here's another shot at it.  Notice a few things:

    - no text.mime package
    - encoders moved to text.encode
    - Unix stuff moved to unix package (no file.lowlevel, file.terminal)
    - aifc moved to bin.sound package
    - struct moved to bin package
    - locale moved to math package
    - linecache moved to interp package
    - data-type stuff moved to data package
    - modules in internal package moved to live with their friends

Modules that are deprecated or not really intended to be imported
are listed in parentheses (to give a better idea of the "real"
size of each package).  cStringIO and cPickle are parenthesized
in hopeful anticipation of agreement on my last message...


net
        urlparse
        urllib
        ftplib
        gopherlib
        imaplib
        poplib
        nntplib
        smtplib
        telnetlib
        httplib
        cgi
        server
                BaseHTTPServer
                CGIHTTPServer
                SimpleHTTPServer
                SocketServer
                asynchat
                asyncore
text
        re              # general-purpose parsing
        sgmllib
        htmllib
        htmlentitydefs
        xml
                whatever the xml-sig puts here
        mail
                rfc822
                mailbox
                mhlib
        encode          # i'm also ok with moving text.encode.* to text.*
                binhex
                uu
                base64
                quopri
        MimeWriter
        mimify
        mimetools
        mimetypes
        multifile
        mailcap         # special-purpose file parsing
        shlex
        ConfigParser
        netrc
        formatter
        (string, strop, pcre, reconvert, regex, regex_syntax, regsub)
bin
        gzip
        zlib
        chunk
        struct
        image
                imghdr
                colorsys        # a bit unsure, but doesn't go anywhere else
                imageop
                imgfile
                rgbimg
                yuvconvert
        sound
                aifc
                sndhdr
                toaiff
                audiodev
                sunau
                sunaudio
                wave
                audioop
                sunaudiodev
db
        anydbm
        whichdb
        bsddb
        dbm
        dbhash
        dumbdbm
        gdbm
math
        math            # library functions
        cmath
        fpectl          # type-related
        fpetest
        array
        mpz
        fpformat        # formatting
        locale
        bisect          # algorithm: also unsure, but doesn't go anywhere else
        random          # randomness
        whrandom
        crypt           # cryptography
        md5
        rotor
        sha
time
        calendar
        time
        tzparse
        sched
        timing
interp
        new
        linecache       # handling .py files
        py_compile
        code            # manipulating internal objects
        codeop
        dis
        traceback
        compileall
        keyword         # interpreter constants
        token
        symbol
        tokenize        # parsing
        parser
        bdb             # development
        pdb
        profile
        pyclbr
        tabnanny
        pstats
        rlcompleter     # this might go in "ui"...
security
        Bastion
        rexec
        ihooks
file
        dircache
        path -- a virtual module which would do a from <something>path import *
        nturl2path
        macurl2path
        filecmp
        fileinput
        StringIO
        glob
        fnmatch
        stat
        statcache
        statvfs
        tempfile
        shutil
        pipes
        popen2
        commands
        dl
        (dospath, posixpath, macpath, ntpath, cStringIO)
data
        pickle
        shelve
        xdrlib
        copy
        copy_reg
        UserDict
        UserList
        pprint
        repr
        (cPickle)
threads
        thread
        threading
        Queue
        mutex
ui
        _tkinter
        curses
        Tkinter
        cmd
        getpass
        getopt
        readline
users
        pwd
        grp
        nis
sgi
        al
        cd
        cl
        fl
        fm
        gl
        misc (what used to be sgimodule.c)
        sv
unicode
        _codecs
        codecs
        unicodedata
        unicodedatabase
unix
        errno
        resource
        signal
        posix
        posixfile
        socket
        select
        syslog
        fcntl
        termios
        pty
        tty
_locale
exceptions
sys
os
types
user
site
pure
operator




-- ?!ng

"I'm not trying not to answer the question; i'm just not answering it."
    -- Lenore Snell