]> granicus.if.org Git - python/commit
Make a new urllib package .
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 18 Jun 2008 20:49:58 +0000 (20:49 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 18 Jun 2008 20:49:58 +0000 (20:49 +0000)
commit1afc1696167547a5fa101c53e5a3ab4717f8852c
treee989e72e71530d892214562785df7e11f84c1111
parenta656d2cd8984f1ecb5a7e2cd09a18f72452f2b78
Make a new urllib package .

It consists of code from urllib, urllib2, urlparse, and robotparser.
The old modules have all been removed.  The new package has five
submodules: urllib.parse, urllib.request, urllib.response,
urllib.error, and urllib.robotparser.  The urllib.request.urlopen()
function uses the url opener from urllib2.

Note that the unittests have not been renamed for the
beta, but they will be renamed in the future.

Joint work with Senthil Kumaran.
40 files changed:
Lib/cgi.py
Lib/distutils/command/register.py
Lib/distutils/command/upload.py
Lib/email/utils.py
Lib/http/client.py
Lib/http/cookiejar.py
Lib/http/server.py
Lib/macurl2path.py
Lib/mimetypes.py
Lib/test/regrtest.py
Lib/test/support.py
Lib/test/test___all__.py
Lib/test/test_http_cookiejar.py
Lib/test/test_httpservers.py
Lib/test/test_importhooks.py
Lib/test/test_pyclbr.py
Lib/test/test_robotparser.py
Lib/test/test_ssl.py
Lib/test/test_urllib.py
Lib/test/test_urllib2.py
Lib/test/test_urllib2_localnet.py
Lib/test/test_urllib2net.py
Lib/test/test_urllibnet.py
Lib/test/test_urlparse.py
Lib/test/test_xmlrpc.py
Lib/urllib.py [deleted file]
Lib/urllib/__init__.py [new file with mode: 0644]
Lib/urllib/error.py [new file with mode: 0644]
Lib/urllib/parse.py [moved from Lib/urlparse.py with 52% similarity]
Lib/urllib/request.py [new file with mode: 0644]
Lib/urllib/response.py [new file with mode: 0644]
Lib/urllib/robotparser.py [moved from Lib/robotparser.py with 77% similarity]
Lib/urllib2.py [deleted file]
Lib/wsgiref/simple_server.py
Lib/wsgiref/util.py
Lib/xml/dom/xmlbuilder.py
Lib/xml/sax/saxutils.py
Lib/xmlrpc/client.py
Makefile.pre.in
Misc/NEWS