- 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 13 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.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
* Used the flag to optimize set.__contains__(), dict.__contains__(), dict.__getitem__(), and list.__getitem__().
-
- 12 Dec, 2003 1 commit
-
-
Raymond Hettinger authored
* show that it is typically used with sorted data, * highlight commonalities with SQL's groupby and Unix's uniq, * demonstrate valid uses for the default identity function, * add some excitement by suggesting the range of possibilities.
-
- 11 Dec, 2003 3 commits
-
-
Fred Drake authored
-
Walter Dörwald authored
Port test_md5.py to PyUnit. (Written by Neal Norwitz; from SF patch 736962) (Backport candidate)
-
Brett Cannon authored
finding proper link.
-
- 10 Dec, 2003 4 commits
-
-
Raymond Hettinger authored
-
Jack Jansen authored
a real subtype of Cm.ComponentInstance right now, it turns out that is too difficult. - OSA.OSAComponentInstance initializer does accept a Cm.ComponentInstance instance, though, so at least things are becoming useable.
-
Hye-Shik Chang authored
deallocating garbage pointers; saved_ob_item and empty_ob_item. (Reviewed by Raymond Hettinger)
-
Raymond Hettinger authored
-
- 09 Dec, 2003 3 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
it to be built for that python.
-
Jack Jansen authored
script that allows it to be built for that Python.
-
- 08 Dec, 2003 3 commits
-
-
Walter Dörwald authored
test_tuple.py and test_list.py. Common tests for tuple, list and UserList are shared (in seq_tests.py and list_tests.py). Port tests to PyUnit. (From SF patch #736962)
-
Thomas Heller authored
MSVC isn't able to read them. Thanks to David Rushby.
-
Jack Jansen authored
two framework builds (in /Library and /System/Library) to coexist with distutils linking against the right one. Should be backported to 2.3, but getting Apple-supplied Python to pick up these fixes is going to be non-trivial.
-
- 07 Dec, 2003 8 commits
-
-
Jack Jansen authored
$(prefix) wasn't communicated to Mac/OSX/Makefile for all targets. Fixed.
-
Just van Rossum authored
-
Raymond Hettinger authored
(Contributed by George Yoshida.)
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
(Contributed by Florent Rougon.)
-
Raymond Hettinger authored
-
Raymond Hettinger authored
The example code did not work and could not easily be made to work. Since the docs were already complex and the feature was not used (it took two years for the errors to surface), we decided to dedocument it entirely, leaving unittest cleaner than before.
-
- 06 Dec, 2003 1 commit
-
-
Andrew M. Kuchling authored
-