- 01 Dec, 2007 1 commit
-
-
Lars Gustäbel authored
the start. (backport from r59260)
-
- 30 Nov, 2007 1 commit
-
-
Amaury Forgeot d'Arc authored
PyArgs_ParseTuple t# and w# formats truncated the lengths to 32bit.
-
- 29 Nov, 2007 2 commits
-
-
Georg Brandl authored
(backport from rev. 59224)
-
Guido van Rossum authored
-
- 25 Nov, 2007 1 commit
-
-
Gerhard Häring authored
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.
-
- 24 Nov, 2007 4 commits
-
-
Skip Montanaro authored
-
Amaury Forgeot d'Arc authored
attribute of an empty cell object. Now a ValueError is raised. Backport of r59170.
-
Skip Montanaro authored
-
Skip Montanaro authored
-
- 23 Nov, 2007 3 commits
-
-
Skip Montanaro authored
-
Skip Montanaro authored
head.
-
Brett Cannon authored
-
- 22 Nov, 2007 2 commits
-
-
Ronald Oussoren authored
A test that should test for osx >= 10.4.0 actually tested for os versions <= 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.
-
Martin v. Löwis authored
on 64-bit Windows systems.
-
- 21 Nov, 2007 2 commits
-
-
Brett Cannon authored
-
Christian Heimes authored
-
- 19 Nov, 2007 3 commits
-
-
Brett Cannon authored
-
Walter Dörwald authored
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.
-
Walter Dörwald authored
-
- 15 Nov, 2007 1 commit
-
-
Guido van Rossum authored
-
- 13 Nov, 2007 2 commits
-
-
Amaury Forgeot d'Arc authored
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.
-
Guido van Rossum authored
-
- 12 Nov, 2007 4 commits
-
-
Guido van Rossum authored
The C changes aren't quite the same as the patch given there; the test is.
-
Christian Heimes authored
-
Walter Dörwald authored
Fix TextCalendar.prweek(). This closes issue #1427.
-
Christian Heimes authored
merge -r58935:58936 ../trunk
-
- 09 Nov, 2007 1 commit
-
-
Fred Drake authored
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
-
- 07 Nov, 2007 3 commits
-
-
Nick Coghlan authored
-
Gregory P. Smith authored
* bump _bsddb patch version number.
-
Guido van Rossum authored
Add missing "return NULL" in overflow check in PyString_Repr().
-
- 06 Nov, 2007 1 commit
-
-
Gregory P. Smith authored
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).
-
- 04 Nov, 2007 1 commit
-
-
Skip Montanaro authored
-
- 02 Nov, 2007 1 commit
-
-
Georg Brandl authored
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.
-
- 01 Nov, 2007 2 commits
-
-
Gregory P. Smith authored
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.
-
Georg Brandl authored
-
- 31 Oct, 2007 2 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 25 Oct, 2007 1 commit
-
-
Matthias Klose authored
-
- 24 Oct, 2007 2 commits
-
-
Matthias Klose authored
-
Vinay Sajip authored
-