- 06 May, 2003 4 commits
-
-
Jack Jansen authored
-
Jack Jansen authored
you got a strange error message. Fixed.
-
Raymond Hettinger authored
-
Walter Dörwald authored
-
- 05 May, 2003 12 commits
-
-
Raymond Hettinger authored
* Increase dictionary growth rate resulting in more sparse dictionaries, fewer lookup collisions, increased memory use, and better cache performance. For dicts with over 50k entries, keep the current growth rate in case an application is suffering from tight memory constraints. * Set the most common case (no resize) to fall-through the test.
-
Martin v. Löwis authored
-
Raymond Hettinger authored
-
Tim Peters authored
Some version of gcc in the "RTEMS port running on the Coldfire (m5200) processor" generates bad code for a loop in long_from_binary_base(), comparing the wrong half of an int to a short. The patch changes the decl of the short temp to be an int temp instead. This "simplifies" the code enough that gcc no longer blows it.
-
Walter Dörwald authored
('pgsql', '*', 252, []) and ('postgres', '*', 252, ['skip']), but pwd.getgrgid(252) might return ('pgsql', '', 252, ['skip']). Drop the test that tried to find a tuple similar to the one returned from pwd.getgrgid() among those for the same gid returned by pwd.getgrall(), as the only working definition of 'similar' seems to be 'has the same gid'. This check can be done more directly. This should fix SF bug #732783.
-
Jeremy Hylton authored
Resolves SF bugs 697989, 697988, 697986.
-
Jeremy Hylton authored
Bug fix candidate.
-
Skip Montanaro authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 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 20 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.
-