Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typo. | Walter Dörwald | 2003-02-03 | 1 | -1/+1 |
| | |||||
* | - Thanks to Scott David Daniels, a subtle bug in how the zlib | Guido van Rossum | 2003-02-03 | 5 | -189/+495 |
| | | | | | | | | extension implemented flush() was fixed. Scott also rewrite the zlib test suite using the unittest module. (SF bug #640230 and patch #678531.) Backport candidate I think. | ||||
* | SF #661437, apply() should get PendingDeprecation | Neal Norwitz | 2003-02-03 | 1 | -0/+3 |
| | |||||
* | Fix typos. | Walter Dörwald | 2003-02-03 | 1 | -2/+2 |
| | |||||
* | Port test_pow.py to PyUnit. From SF patch #662807 | Walter Dörwald | 2003-02-03 | 2 | -149/+110 |
| | |||||
* | _slotnames(): this is a fairly expensive calculation. Cache the | Guido van Rossum | 2003-02-03 | 1 | -6/+23 |
| | | | | | | | outcome as __slotnames__ on the class. (Like __slots__, it's not safe to ask for this as an attribute -- you must look for it in the specific class's __dict__. But it must be set using attribute notation, because __dict__ is a read-only proxy.) | ||||
* | [Bug #676292] BaseHTTPServer incorrectly parses protocol; fix by Andrew Dalke | Andrew M. Kuchling | 2003-02-03 | 1 | -5/+16 |
| | | | | | | | | | * 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. | ||||
* | _slotnames(): exclude __dict__ and __weakref__; these aren't real | Guido van Rossum | 2003-02-03 | 1 | -1/+2 |
| | | | | slots even though they can be listed in __slots__. | ||||
* | Support keyword argument 'bin', with a pending deprecation warning. | Guido van Rossum | 2003-02-03 | 1 | -5/+13 |
| | |||||
* | Proper testing of proto 2 in part requires checking that the new opcodes | Tim Peters | 2003-02-03 | 1 | -11/+10 |
| | | | | | | 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. | ||||
* | braino | Skip Montanaro | 2003-02-03 | 1 | -2/+2 |
| | |||||
* | PDATA_PUSH and PDATA_APPEND. documented, and reformatted for better | Tim Peters | 2003-02-03 | 1 | -30/+38 |
| | | | | | | | | | 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. | ||||
* | Bug #678077: Suggest alternative to os.getlogin() | Andrew M. Kuchling | 2003-02-03 | 1 | -1/+3 |
| | |||||
* | try to avoid gross incompatibilities with older versions of Python | Skip Montanaro | 2003-02-03 | 1 | -12/+12 |
| | |||||
* | try to avoid gross incompatibilities with earlier versions of Python | Skip Montanaro | 2003-02-03 | 1 | -12/+12 |
| | |||||
* | _PyLong_Sign(): remove an assert that needed a variable ndigits that | Guido van Rossum | 2003-02-03 | 1 | -3/+2 |
| | | | | | | | | | 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. | ||||
* | test_float_overflow(): make shuge (added last week) a little less | Guido van Rossum | 2003-02-03 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | Bug #676273: Rewrite paragraph in module docstring | Andrew M. Kuchling | 2003-02-03 | 1 | -5/+5 |
| | |||||
* | test_support.requires(): Instead of raising TestSkipped, raise a new | Fred Drake | 2003-02-03 | 2 | -2/+18 |
| | | | | | | | | | 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. | ||||
* | add note about new db2pickle.py and pickle2db.py scripts | Skip Montanaro | 2003-02-03 | 1 | -2/+19 |
| | |||||
* | [Bug #679251] Use correct constant name | Andrew M. Kuchling | 2003-02-03 | 1 | -6/+6 |
| | |||||
* | note db2pickle.py and pickle2db.py | Skip Montanaro | 2003-02-03 | 1 | -0/+2 |
| | |||||
* | dump database files to pickle format | Skip Montanaro | 2003-02-03 | 1 | -0/+116 |
| | |||||
* | convert pickles generated by db2pickle.py back to database files | Skip Montanaro | 2003-02-03 | 1 | -0/+127 |
| | |||||
* | Add __all__ (suggested by Raymond Hettinger). | Greg Ward | 2003-02-03 | 1 | -3/+5 |
| | | | | | Rename 'whitespace' global to '_whitespace' -- it's not part of the public interface. | ||||
* | Remove test_b1 and test_b2 from the list of tests | Walter Dörwald | 2003-02-03 | 1 | -2/+0 |
| | | | | | that are no real tests, because test_b1 and test_b2 no longer exist. (Spotted by Raymond Hettinger) | ||||
* | patch #664131, fix config command on OSX and Linux | Just van Rossum | 2003-02-03 | 1 | -1/+2 |
| | |||||
* | Fix bug | Michael W. Hudson | 2003-02-03 | 1 | -9/+15 |
| | | | | | | | [ 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. | ||||
* | add missing "summary" from long options list | Skip Montanaro | 2003-02-03 | 1 | -1/+1 |
| | |||||
* | * Add description of PyInt_FromString. | Skip Montanaro | 2003-02-03 | 1 | -3/+23 |
| | | | | | | * Correct description of PyFloat_FromString. While ignored, the pend argument still has to be given. * Typo in PyLong_FromString. | ||||
* | version 4.1.4 (4.1.3 just released) | Gregory P. Smith | 2003-02-03 | 1 | -1/+1 |
| | |||||
* | fix for use on python 2.1 | Gregory P. Smith | 2003-02-03 | 1 | -2/+0 |
| | |||||
* | Add PyFloat_FromString. Left the char **pend argument out of the | Skip Montanaro | 2003-02-03 | 1 | -0/+5 |
| | | | | | | 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?) | ||||
* | cPickle now implements enough of protocol 2 to enable all | Guido van Rossum | 2003-02-03 | 1 | -3/+3 |
| | | | | cross-pickling tests. | ||||
* | Fix comment typo. | Walter Dörwald | 2003-02-02 | 1 | -1/+1 |
| | |||||
* | Fix typos. | Walter Dörwald | 2003-02-02 | 1 | -5/+5 |
| | |||||
* | Fix typos. | Walter Dörwald | 2003-02-02 | 1 | -4/+4 |
| | |||||
* | Getting rid of macfs usage and almost all FSSpecs. Untested on MacOS9. | Jack Jansen | 2003-02-02 | 1 | -18/+22 |
| | |||||
* | The FSAliasFile routines also have an in/out parameter. | Jack Jansen | 2003-02-02 | 2 | -4/+9 |
| | |||||
* | cPickle support for TUPLE[123]. Incidentally plugged several undetected | Tim Peters | 2003-02-02 | 3 | -91/+250 |
| | | | | overflow holes in Pdata_grow(). | ||||
* | jeez, now I know why I shouldn't even _want_ to learn sh. | Just van Rossum | 2003-02-02 | 1 | -4/+4 |
| | |||||
* | Massive edits. If p is a pointer to a struct, and p->f is a pointer to | Tim Peters | 2003-02-02 | 1 | -89/+93 |
| | | | | | | | | | | | | | | 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. | ||||
* | Minor cleanup, mostly adding horizontal whitespace, and breaking apart | Tim Peters | 2003-02-02 | 1 | -31/+30 |
| | | | | embedded assignments, for readability. | ||||
* | Implemented proto 2 NEWTRUE and NEWFALSE in cPickle. | Tim Peters | 2003-02-02 | 2 | -2/+40 |
| | |||||
* | Get ossaudiodev to compile on freebsd 4.7 | Neal Norwitz | 2003-02-02 | 2 | -1/+20 |
| | |||||
* | long_from_binary_base(): Sped this a little by computing the # of bits | Tim Peters | 2003-02-02 | 1 | -6/+6 |
| | | | | needed outside the first loop. | ||||
* | Beefed up the tests by putting in more "for proto in protocols:" outer | Tim Peters | 2003-02-02 | 2 | -86/+236 |
| | | | | | | | 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. | ||||
* | Add some notes that got python to work on the snake farm | Neal Norwitz | 2003-02-02 | 1 | -0/+16 |
| | |||||
* | Fix compiler warning | Neal Norwitz | 2003-02-02 | 2 | -1/+2 |
| | |||||
* | dump(): Added asserts that self->proto is sane. | Tim Peters | 2003-02-02 | 1 | -1/+2 |
| |