- 04 May, 2003 4 commits
-
-
Jeremy Hylton authored
The latest changes to the redirect handler couldn't possibly have been tested, because they did not compute a newurl and failed with a NameError. The __name__ == "__main__": block has a test for redirects. Also, fix SF bug 723831. A urlopen() that failed because the host was not found raised a socket.gaierror unlike earlier versions of urllib2. The problem is that httplib actually establishes the connection at a different point starting with Python 2.2. Move the try/except to endheaders(), which is where the connection gets established.
-
Raymond Hettinger authored
and adds. * Note that dictionary iteration is negatively impacted by additional sparseness.
-
Brett Cannon authored
Added some docstrings.
-
Tim Peters authored
only. Repaired, and added new tests to test_file.py.
-
- 03 May, 2003 27 commits
-
-
Greg Ward authored
including the "Callback Options" section).
-
Greg Ward authored
Remove first-person usage from it. Various wording tweaks.
-
Greg Ward authored
Particularly important since they now store True and False rather than 1 and 0!
-
Greg Ward authored
This should be turned into a footnote by someone who actually understands OSS and its relationship to Linux, FreeBSD, OpenBSD, NetBSD, etc.
-
Greg Ward authored
Remove whitespace around em-dashes.
-
Greg Ward authored
correctly. (Closes SF #731689.) Use \emph{} in a few places.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
be taken, and define NI_MAX{HOST|SERV} if necessary.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Raymond Hettinger authored
there or where to find it.
-
Raymond Hettinger authored
the itertoolsmodule. * Taught itertools.repeat(obj, n) to treat negative repeat counts as zero. This behavior matches that for sequences and prevents infinite loops.
-
Raymond Hettinger authored
-
Fred Drake authored
this causes some browsers to offer descriptive tooltips when the mouse hovers over the linked icon - clean up the code in this area
-
Just van Rossum authored
-
Just van Rossum authored
(Jack: maybe this could/should be done in Framework.py instead, that way apps don't have to think about it. PackMan springs to mind...)
-
Just van Rossum authored
-
Just van Rossum authored
based threads, release the GIL when the event loop goes to sleep, and acquire it again when the event loop wakes up again. OSX-only.
-
- 02 May, 2003 9 commits
-
-
Just van Rossum authored
effect of an import. (This is one step towards threading support in the IDE.)
-
Raymond Hettinger authored
-
Raymond Hettinger authored
Simplify test_main().
-
Fred Drake authored
-
Jack Jansen authored
a bug in urllib2 this caused pimp to stop working. Fixed the URL to make it work again.
-
Raymond Hettinger authored
-
Fred Drake authored
- implement custom_REL_hook() so LaTeX2HTML uses currently recommended link types; those work fine with tools like the Mozilla Site Navigation Bar
-
Raymond Hettinger authored
-
Raymond Hettinger authored
It is better to be explicit and just allow stop to be None.
-