summaryrefslogtreecommitdiffstats
path: root/Lib/urllib2.py
Commit message (Collapse)AuthorAgeFilesLines
* two fixes for redirects:Jeremy Hylton2000-10-121-24/+31
| | | | | | | | | | | | | | | - don't close the fp, since that appears to also close the socket - join the original url with the redirect reponse to deal with relative redirect URL wrap two socket ops in try/except to turn them into URLErrors, so that client code need only catch one exception. in HTTPError.__del__ only close fp if fp is not None style changes: - use f(*args) instead of apply(f, args) - use __super_init instead of super.__init__(self, ...)
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-1/+1
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* typos fixed by Rob HooftJeremy Hylton2000-06-281-1/+1
|
* Untabify to pass the -tt test.Fred Drake2000-02-101-383/+383
|
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-1/+1
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* EXPERIMENTALJeremy Hylton2000-01-201-0/+1063
An extensible library for opening URLs using a variety protocols. Intended as a replacement for urllib.