summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a note about future import needed for with statement.Georg Brandl2007-12-151-0/+4
|
* Regenerated with autoconf.Thomas Heller2007-12-141-7769/+8202
|
* Bug #1608: use -fwrapv when GCC supports it. This is important, newerGuido van Rossum2007-12-135-8217/+7784
| | | | | GCC versions may optimize away overflow buffer overflow checks without this option! Thanks to Ismail Donmez. No thanks to the GCC devs.
* Backport r59480.Alexandre Vassalotti2007-12-132-1/+11
| | | | Fix issue #1313119.
* Backport patch #1643738.Guido van Rossum2007-12-102-5/+27
|
* This is a backport of the fix in rev. 59369.Ronald Oussoren2007-12-055-1/+97
| | | | | | This patch doesn't remove the wrappers for OSADebug* API's but only defines them when configure detects that the API's are present in the system's header files.
* merge -r59315:59316 from py3k: Fix issue #1553: An errornous __length_hint__ ↵Christian Heimes2007-12-053-4/+9
| | | | can make list() raise a SystemError
* os.access now returns True on Windows for any existing directory.Martin v. Löwis2007-12-032-2/+7
|
* Issue #1531: Read fileobj from the current offset, do not seek toLars Gustäbel2007-12-013-3/+46
| | | | | | the start. (backport from r59260)
* Backport of r59241: str.decode fails on very long strings on 64bit platforms.Amaury Forgeot d'Arc2007-11-303-7/+15
| | | | PyArgs_ParseTuple t# and w# formats truncated the lengths to 32bit.
* Spaces vs. Tabs.Georg Brandl2007-11-291-4/+4
| | | | (backport from rev. 59224)
* Fix bug #1517, a possible segfault in lookup().Guido van Rossum2007-11-291-0/+4
|
* - Backported a workaround for a bug in SQLite 3.2.x/3.3.x versions where aGerhard Häring2007-11-252-4/+14
| | | | | | | statement recompilation with no bound parameters lead to a segfault - Backported a fix necessary because of an SQLite API change in version 3.5. This prevents segfaults when executing empty queries, like our test suite does.
* back in these go - thanks to Titus Brown for the fixSkip Montanaro2007-11-243-0/+18
|
* Issue #1445: Fix a SystemError when accessing the ``cell_contents``Amaury Forgeot d'Arc2007-11-243-2/+22
| | | | | | attribute of an empty cell object. Now a ValueError is raised. Backport of r59170.
* revertSkip Montanaro2007-11-241-3/+0
|
* revert change that breaks test_doctest (which I forgot to run - sorry)Skip Montanaro2007-11-242-13/+0
|
* issue 1429818Skip Montanaro2007-11-231-0/+3
|
* Make trace and doctest play nice together (issue 1429818). Backported fromSkip Montanaro2007-11-232-0/+13
| | | | head.
* Backport of a fix for the __loader__.get_data() test.Brett Cannon2007-11-231-0/+1
|
* A test that should test for osx >= 10.4.0 actually tested for os versions <= ↵Ronald Oussoren2007-11-221-1/+1
| | | | | | | | 10.4. The end result is that a universal ("fat") build will claim to be a single-architecture on on OSX 10.5 (Leopard). This patch fixes this issue.
* Allow simultaneous installation of 32-bit and 64-bit versionsMartin v. Löwis2007-11-222-2/+26
| | | | on 64-bit Windows systems.
* Backport of r59082 (doctest and using __loader__.get_data()).Brett Cannon2007-11-213-1/+24
|
* Fixed #1372: zlibmodule.c: int overflow in PyZlib_decompressChristian Heimes2007-11-212-2/+5
|
* Remove an old SF reference.Brett Cannon2007-11-191-2/+2
|
* Backport r59049:Walter Dörwald2007-11-192-5/+55
| | | | | | Fix for #1444: utf_8_sig.StreamReader was (indirectly through decode()) calling codecs.utf_8_decode() with final==True, which falled with incomplete byte sequences. Fix and test by James G. Sack.
* Backport r59047: Fix typo in comment.Walter Dörwald2007-11-191-1/+1
|
* Backport revision 58471, replace PyErr_Print() with PyErr_Clear().Guido van Rossum2007-11-151-1/+1
|
* Backport for issue1265 (pdb bug with "with" statement).Amaury Forgeot d'Arc2007-11-133-9/+63
| | | | | | | | | | | | | | | | | | | | When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx is called with a GeneratorExit exception set. This leads to funny results if the sys.settrace function itself makes use of generators. A visible effect is that the settrace function is reset to None. Another is that the eventual "finally" block of the generator is not called. It is necessary to save/restore the exception around the call to the trace function. This happens a lot with py3k: isinstance() of an ABCMeta instance runs def __instancecheck__(cls, instance): """Override for isinstance(instance, cls).""" return any(cls.__subclasscheck__(c) for c in {instance.__class__, type(instance)}) which lets an opened generator expression each time it returns True. And the problem can be reproduced in 2.5 with pure python code.
* News about list_repeat() fix.Guido van Rossum2007-11-131-0/+2
|
* Issue 1704621. Fix segfaults in list_repeat() and list_inplace_repeat().Guido van Rossum2007-11-122-5/+14
| | | | The C changes aren't quite the same as the patch given there; the test is.
* Fixed #1254: pdb fails to launch some script.Christian Heimes2007-11-121-1/+1
|
* Backport r58942:Walter Dörwald2007-11-121-1/+1
| | | | Fix TextCalendar.prweek(). This closes issue #1427.
* Fix for #1427: Error in standard module calendarChristian Heimes2007-11-121-8/+12
| | | | merge -r58935:58936 ../trunk
* when talking about an imminent 2.5.2c1, the build should identify itselfFred Drake2007-11-091-3/+3
| | | | | as being some form of 2.5.2 (this is admittedly a bit conservative); we can make this 2.5.2c1 when making the release
* Fix issue #1705170 (backport from trunk)Nick Coghlan2007-11-073-0/+24
|
* * fix failing test_recno.py - backport from trunk.Gregory P. Smith2007-11-072-6/+6
| | | | * bump _bsddb patch version number.
* Backport r58892.Guido van Rossum2007-11-071-0/+1
| | | | Add missing "return NULL" in overflow check in PyString_Repr().
* Backport r58868:Gregory P. Smith2007-11-064-2/+142
| | | | | Fixes Issue 1385: The hmac module now computes the correct hmac when using hashes with a block size other than 64 bytes (such as sha384 and sha512).
* Note change to get_dialect semantics in 2.5.Skip Montanaro2007-11-041-0/+5
|
* Backport r58709 from trunk:Georg Brandl2007-11-022-7/+12
| | | | | | | | | Backport fixes for the code that decodes octal escapes (and for PyString also hex escapes) -- this was reaching beyond the end of the input string buffer, even though it is not supposed to be \0-terminated. This has no visible effect but is clearly the correct thing to do. (In 3.0 it had a visible effect after removing ob_sstate from PyString.) Also fixes #1098.
* Backport r58757, r58758, r58759.Gregory P. Smith2007-11-014-12/+26
| | | | | | | | | | | | | | | | | | | | Undoes incorrect dbtables fix and errant strdup introduced as described below: r58757 | gregory.p.smith | 2007-11-01 14:08:14 -0700 (Thu, 01 Nov 2007) | 4 lines Fix bug introduced in revision 58385. Database keys could no longer have NULL bytes in them. Replace the errant strdup with a malloc+memcpy. Adds a unit test for the correct behavior. r58758 | gregory.p.smith | 2007-11-01 14:15:36 -0700 (Thu, 01 Nov 2007) | 3 lines Undo revision 58533 58534 fixes. Those were a workaround for a problem introduced by 58385. r58759 | gregory.p.smith | 2007-11-01 14:17:47 -0700 (Thu, 01 Nov 2007) | 2 lines false "fix" undone as correct problem was found and fixed.
* #1364: os.lstat is available on Windows too, as an alias to os.stat.Georg Brandl2007-11-011-2/+3
|
* Sets are marshalable.Raymond Hettinger2007-10-311-1/+1
|
* Clarify the reasons why pickle is almost always better than marshalRaymond Hettinger2007-10-311-1/+9
|
* - Build using system ffi library on arm*-linux*, pass --with-system-ffi to ↵Matthias Klose2007-10-252-3/+3
| | | | CONFIG_ARGS
* - Build using system ffi library on arm*-linux*.Matthias Klose2007-10-243-5/+147
|
* Bug #1321: Fixed logic error in TimedRotatingFileHandler.__init__()Vinay Sajip2007-10-241-7/+7
|
* Backport 58618:Neal Norwitz2007-10-241-1/+1
| | | | Issue 1307 by Derek Shockey, fix the same bug for RCPT.
* Bug #1313, fix typo (wrong variable name) in example.Neal Norwitz2007-10-231-1/+1
|