summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* [Bug #1172763] dumbdbm uses eval() on lines, so it chokes if there's an ↵Andrew M. Kuchling2005-06-072-0/+19
| | | | extra \r on the end of a line; fixed by stripping off trailing whitespace.
* Minor namespace clean-up.Raymond Hettinger2005-06-071-2/+2
|
* fix more Errors (not Failures) when run using BerkeleyDB <= 4.0Gregory P. Smith2005-06-061-4/+13
|
* fix Errors (not Failures) in test cases when running with BerkeleyDB<4.2Gregory P. Smith2005-06-061-32/+61
|
* make the tests that expect uncatchable exceptions from a callback testGregory P. Smith2005-06-061-19/+48
| | | | | | for them in a roundabout way (catching and parsing stderr) keeps test output clean.
* test case for pybsddb SF bug id 1215432Gregory P. Smith2005-06-061-0/+50
|
* test DB.associate using transactions. somewhat related to SF pybsddbGregory P. Smith2005-06-061-12/+46
| | | | bug #1215432
* Documentation clarified re. config socket listener protocolVinay Sajip2005-06-051-3/+3
|
* Fix missing assignments of marshal.load() values. Closes #1214662.Skip Montanaro2005-06-041-7/+7
|
* Bug #1196315: fix weakref.WeakValueDictionary constructor.Georg Brandl2005-06-041-1/+1
|
* pybsddb 4.3.2:Gregory P. Smith2005-06-042-9/+33
| | | | | | | | | | | * the has_key() method was not raising a DBError when a database error had occurred. [SF patch id 1212590] * added a wrapper for the DBEnv.set_lg_regionmax method [SF patch id 1212590] * DBKeyEmptyError now derives from KeyError just like DBNotFoundError. * internally everywhere DB_NOTFOUND was checked for has been updated to also check for DB_KEYEMPTY. This fixes the semantics of a couple operations on recno and queue databases to be more intuitive and results in less unexpected DBKeyEmptyError exceptions being raised.
* Whitespace normalization.Tim Peters2005-06-034-195/+195
|
* Bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly.Georg Brandl2005-06-031-0/+10
|
* [ 1197218 ] test_locale fix on modern linuxAnthony Baxter2005-06-031-8/+10
| | | | | | | On more modern linuxes (and probably others) straight 'en_US' isn't a valid locale. Make the code try a couple of alternates. backport candidate
* This is my patch:Michael W. Hudson2005-06-031-1/+15
| | | | | | | | | [ 1180995 ] binary formats for marshalling floats Adds 2 new type codes for marshal (binary floats and binary complexes), a new marshal version (2), updates MAGIC and fiddles the de-serializing of code objects to be less likely to clobber the real reason for failing if it fails.
* Bug #1213894: os.path.realpath didn't resolve symlinks that were the firstGeorg Brandl2005-06-032-1/+21
| | | | component of the path.
* M-x untabifyMichael W. Hudson2005-06-031-9/+9
|
* pybsddb 4.3.1, adds support for DB.set_bt_compare database btree comparisonGregory P. Smith2005-06-033-0/+218
| | | | | | functions written in python. contributed by <frederic.gobry@epfl.ch>
* [Bug #1177831] Exercise (?(id)yes|no) for a group other than the first oneAndrew M. Kuchling2005-06-021-0/+10
|
* [Bug #1177831] Fix generation of code for GROUPREF_EXISTS. Thanks to Andre ↵Andrew M. Kuchling2005-06-021-1/+1
| | | | Malo for the fix.
* Fix compiler.ast.flatten function so that it works on lists.Neil Schemenauer2005-06-022-4/+9
|
* [Bug #1152762] Ensure _end_of_line() returns an x-coordinate that's within ↵Andrew M. Kuchling2005-06-021-1/+1
| | | | the text box
* added GET/SETANNOTATION methodsPiers Lauder2005-06-011-9/+36
|
* This is my patch:Michael W. Hudson2005-05-271-0/+110
| | | | | | | | | | | | | | [ 1181301 ] make float packing copy bytes when they can which hasn't been reviewed, despite numerous threats to check it in anyway if noone reviews it. Please read the diff on the checkin list, at least! The basic idea is to examine the bytes of some 'probe values' to see if the current platform is a IEEE 754-ish platform, and if so _PyFloat_{Pack,Unpack}{4,8} just copy bytes around. The rest is hair for testing, and tests.
* Fix test_site to not call open('...', 'wU'), as that now raises an error.Michael W. Hudson2005-05-271-1/+1
| | | | Is anyone running the test suite regularly at the moment?
* Disallow opening files with modes 'aU' or 'wU' as specified by PEPSkip Montanaro2005-05-201-0/+10
| | | | 278. Closes bug 967182.
* Whitespace normalization.Tim Peters2005-05-181-1/+1
|
* This test relied on short-circuiting details of dictobject.py to avoidArmin Rigo2005-05-151-4/+2
| | | | | | | | | crashing, and indirectly on the fact that hash codes in random.randrange(1000000000) were very unlikely to exhibit collisions. To see the problem, replace this number with 500 and observe the crash on either del target[key] or del keys[i]. The fix prevents recursive mutation, just as in the key insertion case.
* Add better datetime support to xmlrpclib module. Closes patch #1120353.Skip Montanaro2005-05-142-17/+87
|
* Improve subprocess link error notificationKurt B. Kaiser2005-05-103-3/+9
| | | | | | M NEWS.txt M PyShell.py M rpc.py
* SF bug #1193890: calendar.weekheader not found in __all__Raymond Hettinger2005-05-101-1/+2
|
* Use Queue's blocking feature instead of sleeping in the mainKurt B. Kaiser2005-05-052-2/+4
| | | | loop. Patch # 1190163 Michiel de Hoon
* Don't use 'is not' to compare strings.Michael W. Hudson2005-05-041-1/+1
| | | | (spotted by reading pypy-svn :)
* SF patch #1191489: Simplify logic in random.pyRaymond Hettinger2005-04-301-9/+10
|
* Fix error in a docstring where a single quote started the docstring but tripleBrett Cannon2005-04-301-1/+1
| | | | | | quote ended it. Closes bug #1192777. Thanks Christopher Smith.
* Fixed a typo in docstring I happened upon.Guido van Rossum2005-04-301-1/+1
|
* Make subclasses of int, long, complex, float, and unicode perform typeBrett Cannon2005-04-264-1/+245
| | | | | | | conversion using the proper magic slot (e.g., __int__()). Also move conversion code out of PyNumber_*() functions in the C API into the nb_* function. Applied patch #1109424. Thanks Walter Doewald.
* Make parse_makefile fallback to environment variables if nothing isMartin v. Löwis2005-04-251-21/+14
| | | | | defined in the makefile. Get CFLAGS from the Makefile, instead of getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually.
* Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. MeantBrett Cannon2005-04-241-3/+4
| | | | | | | to be used for flags that change binary compatibility. Distutils was tweaked to also use the variable if used during compilation of the interpreter.
* Update test to the current readline() behaviour.Walter Dörwald2005-04-211-0/+2
|
* Fix comment.Walter Dörwald2005-04-211-2/+2
|
* If the data read from the bytestream in readline() ends in a '\r' read one moreWalter Dörwald2005-04-211-12/+4
| | | | | | | | | | | byte, even if the user has passed a size parameter. This extra byte shouldn't cause a buffer overflow in the tokenizer. The original plan was to return a line ending in '\r', which might be recognizable as a complete line and skip any '\n' that was read afterwards. Unfortunately this didn't work, as the tokenizer only recognizes '\n' as line ends, which in turn lead to joined lines and SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It can only happen with a temporarily exhausted bytestream now anyway.) Fixes parts of SF bugs #1163244 and #1175396.
* Fix tests dependent on the exception raised by non-settable descriptors.Barry Warsaw2005-04-203-5/+6
|
* Whitespace normalization.Tim Peters2005-04-202-2/+2
|
* typo fix, thanks Jeremy SandersAnthony Baxter2005-04-151-1/+1
|
* Flush out support for ``class B(): pass`` syntax by adding support to theBrett Cannon2005-04-093-1/+9
| | | | | | 'parser' module and 'compiler' package. Closes patch #1176012. Thanks logistix.
* Add test for ``class B1(): pass``.Brett Cannon2005-04-091-1/+2
|
* test_default_encoding_issues(): Fully restore sys.setdefaultencoding.Tim Peters2005-04-081-0/+7
| | | | | | | | | | test_site often failed under "regrtest.py -r", because this xmlrpc test left sys with a setdefaultencoding attribute, but loading site.py removes that attribute and test_site.py verifies the attribute is gone. Changed this test to get rid of sys.setdefaultencoding if it didn't exist when this test started. Don't know whether this is a bugfix (backport) candidate.
* SF bug #1168983: ftplib.py string index out of rangeRaymond Hettinger2005-04-051-7/+16
| | | | | | | | * resp[:1] in '123' # after Py2.2, this allowed blank responses to pass. * replace <> with != * provide a usage message for empty command line calls Backport candidate.
* Fix typos.Walter Dörwald2005-04-041-2/+2
|