[Python-3000] possible new packages (PEP 3108)
Bill Janssen
janssen at parc.com
Wed Jan 10 03:18:21 CET 2007
OK, let me repeat myself.
I see no point in grouping modules just because they're servers.
I'd suggest a Web module containing:
html:
htmlentitydefs
htmllib
HTMLParser
sgmllib (?)
server:
BaseHTTPServer
cgi
CGIHTTPServer
Cookie
wsgiref
client:
cookielib
httplib
urllib, urllib2, urlparse
browser: (or these could just be part of "client")
webbrowser
"cgitb" is generic functionality, and should be merged into "traceback".
The classes in SimpleHTTPServer should be merged into BaseHTTPServer.
"urllib" and "urllib2" should be merged. "urlparse" should be merged into urllib.
What's in SocketServer should be merged into "socket".
Perhaps "web" could be part of a higher-level "internet" package,
which would also include "email", and things like nntplib and
stringprep.
Bill
More information about the Python-3000
mailing list