- 18 Dec, 2003 7 commits
-
-
Fred Drake authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Fred Drake authored
-
Fred Drake authored
- re-wrap resulting long lines
-
Fred Drake authored
-
Fred Drake authored
-
- 17 Dec, 2003 8 commits
-
-
Raymond Hettinger authored
sorted() becomes a regular function instead of a classmethod.
-
Raymond Hettinger authored
sorted() becomes a regular function instead of a classmethod.
-
Jeremy Hylton authored
-
Raymond Hettinger authored
sorted() becomes a regular function instead of a classmethod.
-
Jeremy Hylton authored
Replace lots of assert_(x == y) with assertEqual(x, y).
-
Jeremy Hylton authored
The chief benefit of this change is that requests will now use HTTP/1.1 instead of HTTP/1.0. Bump the module version number as part of the change. There are two possible incompatibilities that we'll need to watch out for when we get to an alpha release. We may get a different class of exceptions out of httplib, and the do_open() method changed its signature. The latter is only important if anyone actually subclasses AbstractHTTPHandler.
-
Hye-Shik Chang authored
machines.
-
Hye-Shik Chang authored
-
- 16 Dec, 2003 1 commit
-
-
Andrew M. Kuchling authored
-
- 15 Dec, 2003 10 commits
-
-
Raymond Hettinger authored
-
Hye-Shik Chang authored
(Spotted by Raymond Hettinger)
-
Raymond Hettinger authored
-
Hye-Shik Chang authored
-
Hye-Shik Chang authored
SF feature request #801847. Original patch is written by Sean Reifschneider.
-
Jeremy Hylton authored
Keep close() methods for backwards compatibility. Does any call close() explicitly?
-
Skip Montanaro authored
-
Raymond Hettinger authored
-
Walter Dörwald authored
"read until end of line ('\n') or EOF" will be treated literally. Fixes SF bug #860155.
-
Guido van Rossum authored
mid 1990. Remove an untrue XXX comment.
-
- 14 Dec, 2003 4 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
John J. Lee writes: "the patch makes it possible to implement functionality like HTTP cookie handling, Refresh handling, etc. etc. using handler objects. At the moment urllib2's handler objects aren't quite up to the job, which results in a lot of cut-n-paste and subclassing. I believe the changes are backwards-compatible, with the exception of people who've reimplemented build_opener()'s functionality -- those people would need to call opener.add_handler(HTTPErrorProcessor). The main change is allowing handlers to implement methods like: http_request(request) http_response(request, response) In addition to the usual http_open(request) http_error{_*}(...) " Note that the change isn't well documented at least in part because handlers aren't well documented at all. Need to fix this. Add a bunch of new tests. It appears that none of these tests actually use the network, so they don't need to be guarded by a resource flag.
-
- 13 Dec, 2003 10 commits
-
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Guido van Rossum authored
mistake in his code, I'm adding a note explaining that you should call settimeout() before connect().
-
Gustavo Niemeyer authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Use Py_RETURN_NONE everywhere. * Fix-up the firstpass check for the tp_print slot.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Simplifies and speeds-up the code.
-