- 03 Feb, 2003 28 commits
-
-
Andrew M. Kuchling authored
* Treat major, minor numbers of HTTP version as separate integers * Fix errors if version string is "HTTP/1.2.3" or even simply "BLAH". * send_error() checks if 'self.command' is a HEAD. However, if there's an error parsing the first line of the HTTP request the self.command wasn't set yet; force self.command to be initialized to None.
-
Guido van Rossum authored
slots even though they can be listed in __slots__.
-
Guido van Rossum authored
-
Tim Peters authored
are actually getting generated. Add helpered method ensure_opcode_in_pickle to do a correct job checking for that. Changed test_long1(), test_long4(), and test_short_tuples() to use it.
-
Skip Montanaro authored
-
Tim Peters authored
readability. load_bool(): Now that I know the intended difference between _PUSH and _APPEND, used the right one. Pdata_grow(): Squashed out a redundant overflow test.
-
Andrew M. Kuchling authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Guido van Rossum authored
wasn't used outside the assert (and hence caused a compiler warning about an unused variable in NDEBUG mode). The assert wasn't very useful any more. _PyLong_NumBits(): moved the calculation of ndigits after asserting that v != NULL.
-
Guido van Rossum authored
huge. On older Linux systems, the C library's strtod() apparently gives up before seeing the end of the string when it sees so many digits that it thinks the result must be Infinity. (It is wrong, BTW -- there could be an "e-10000" hiding behind 10,000 digits.) The shorter shuge still tests what it's testing, without relying on strtod() doing a super job.
-
Andrew M. Kuchling authored
-
Fred Drake authored
exception, ResourceDenied. This is used to distinguish between tests that are skipped for other reasons (platform support, missing data, etc.) from those that are skipped because a "resource" has not been enabled. This prevents those tests from being reported as unexpected skips for the platform; those should only be considered unexpected skips if the resource were enabled.
-
Skip Montanaro authored
-
Andrew M. Kuchling authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Greg Ward authored
Rename 'whitespace' global to '_whitespace' -- it's not part of the public interface.
-
Walter Dörwald authored
that are no real tests, because test_b1 and test_b2 no longer exist. (Spotted by Raymond Hettinger)
-
Just van Rossum authored
-
Michael W. Hudson authored
[ 676342 ] after using pdb readline does not work correctly using Michael Stone's patch so the completer functionality of cmd is only setup between preloop and postloop.
-
Skip Montanaro authored
-
Skip Montanaro authored
* Correct description of PyFloat_FromString. While ignored, the pend argument still has to be given. * Typo in PyLong_FromString.
-
Gregory P. Smith authored
-
Gregory P. Smith authored
-
Skip Montanaro authored
description since while there, it is useless and ignored, according to Tim's commen. (PyInt_FromString is also not described, but PyLong_FromString is. Is the former deprecated?)
-
Guido van Rossum authored
cross-pickling tests.
-
- 02 Feb, 2003 12 commits
-
-
Walter Dörwald authored
-
Walter Dörwald authored
-
Walter Dörwald authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Tim Peters authored
overflow holes in Pdata_grow().
-
Just van Rossum authored
-
Tim Peters authored
a function, then p->f(arg1, arg2, ...) is semantically the same as (*p->f)(arg1, arg2, ...) Changed all instances of the latter into the former. Given how often the code embeds this kind of expression in an if test, the unnecessary parens and dereferening operator were a real drag on readability.
-
Tim Peters authored
embedded assignments, for readability.
-
Tim Peters authored
-
Neal Norwitz authored
-
Tim Peters authored
needed outside the first loop.
-