- 03 Feb, 2003 23 commits
-
-
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 17 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.
-
Tim Peters authored
loops. Renamed DATA and BINDATA to DATA0 and DATA1. Included disassemblies, but noted why we can't test them. Added XXX comment to cPickle about a mysterious comment, where pickle and cPickle diverge in how they number PUT indices.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Tim Peters authored
-
Tim Peters authored
to have an effect before protocol 3 is invented, so no test can be written for this (yet).
-