Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #16215: Fix potential double memory free in str.replace(). | Antoine Pitrou | 2012-11-17 | 1 | -0/+2 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Issue #16453: Fix equality testing of dead weakref objects. | Antoine Pitrou | 2012-11-11 | 1 | -3/+7 |
|\ | | | | | | | Also add tests for ordering and hashing. | ||||
| * | Issue #16453: Fix equality testing of dead weakref objects. | Antoine Pitrou | 2012-11-11 | 1 | -3/+7 |
| | | | | | | | | Also add tests for ordering and hashing. | ||||
* | | Issue #8271: Fix compilation on Windows | Victor Stinner | 2012-11-04 | 1 | -1/+1 |
| | | |||||
* | | #8271: the utf-8 decoder now outputs the correct number of U+FFFD ↵ | Ezio Melotti | 2012-11-04 | 2 | -36/+66 |
| | | | | | | | | characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti. | ||||
* | | Issue #16402: Merge fix from 3.2 | Mark Dickinson | 2012-11-04 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | Issue #16402: In range slicing, fix shadowing of exceptions from __index__ ↵ | Mark Dickinson | 2012-11-04 | 1 | -5/+5 |
| | | | | | | | | method. | ||||
* | | Fix compilation on Windows | Christian Heimes | 2012-11-03 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix compilation on Windows | Christian Heimes | 2012-11-03 | 1 | -1/+1 |
| | | |||||
* | | #8401: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+6 |
| | | | | | | | | error. | ||||
* | | Issue #15814: Use hash function that is compatible with the equality | Stefan Krah | 2012-11-02 | 1 | -0/+8 |
| | | | | | | | | definition from #15573. | ||||
* | | merge 3.2 | Benjamin Peterson | 2012-10-31 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | avoid a function call with redundant checks for dict size | Benjamin Peterson | 2012-10-31 | 1 | -1/+1 |
| | | |||||
* | | merge 3.2 (#16345) | Benjamin Peterson | 2012-10-31 | 1 | -29/+30 |
|\ \ | |/ | |||||
| * | only fast-path fromkeys() when the constructor returns a empty dict (closes ↵ | Benjamin Peterson | 2012-10-31 | 1 | -33/+34 |
| | | | | | | | | #16345) | ||||
* | | do safety checks on __qualname__ assignment | Benjamin Peterson | 2012-10-31 | 1 | -0/+2 |
| | | |||||
* | | don't shadow the __qualname__ descriptor with __qualname__ in the class's ↵ | Benjamin Peterson | 2012-10-31 | 1 | -5/+4 |
| | | | | | | | | __dict__ (closes #16271) | ||||
* | | merge 3.2 (#16369) | Benjamin Peterson | 2012-10-31 | 2 | -0/+30 |
|\ \ | |/ | |||||
| * | initialize more global type objects (closes #16369) | Benjamin Peterson | 2012-10-31 | 2 | -0/+30 |
| | | |||||
| * | Issue #14700: Fix buggy overflow checks for large precision and width in ↵ | Mark Dickinson | 2012-10-28 | 3 | -20/+15 |
| | | | | | | | | new-style and old-style formatting. | ||||
* | | Issue #16277: merge fix from 3.2 | Mark Dickinson | 2012-10-18 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #16277: in PyLong_FromVoidPtr, add missing branch for sizeof(void*) <= ↵ | Mark Dickinson | 2012-10-18 | 1 | -0/+8 |
| | | | | | | | | sizeof(long). | ||||
* | | Close #16160: Subclass support now works for types.SimpleNamespace. Thanks ↵ | Eric Snow | 2012-10-17 | 1 | -12/+12 |
| | | | | | | | | to RDM for noticing. | ||||
* | | Issue #14783: Merge changes from 3.2. | Chris Jerdonek | 2012-10-07 | 4 | -10/+20 |
|\ \ | |/ | |||||
| * | Issue #14783: Improve int() docstring and also str(), range(), and slice(). | Chris Jerdonek | 2012-10-07 | 4 | -9/+19 |
| | | | | | | | | | | | | This commit rewrites the docstring for int() to incorporate the documentation changes made in issue #16036. It also switches the docstrings for int(), str(), range(), and slice() to use multi-line signatures. | ||||
* | | Issue #16096: Fix signed overflow in Objects/longobject.c. Thanks Serhiy ↵ | Mark Dickinson | 2012-10-06 | 1 | -3/+2 |
| | | | | | | | | Storchaka. | ||||
* | | Issue #16096: Fix several occurrences of potential signed integer overflow. ↵ | Mark Dickinson | 2012-10-06 | 2 | -22/+13 |
| | | | | | | | | Thanks Serhiy Storchaka. | ||||
* | | #16127: remove outdated references to narrow builds. Patch by Serhiy Storchaka. | Ezio Melotti | 2012-10-05 | 1 | -10/+4 |
| | | |||||
* | | Fix PyUnicode_Format(): return NULL if PyUnicode_READY(uformat) failed | Victor Stinner | 2012-10-04 | 1 | -1/+3 |
| | | | | | | | | | | This error cannot occur in practice: PyUnicode_FromObject() always return a "ready" string. | ||||
* | | Fix typo. | Ezio Melotti | 2012-09-28 | 1 | -2/+2 |
| | | |||||
* | | Issue #16060: Fix a double DECREF in int() implementation. Thanks Serhiy ↵ | Mark Dickinson | 2012-09-27 | 1 | -4/+3 |
| | | | | | | | | Storchaka. | ||||
* | | Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵ | Antoine Pitrou | 2012-09-23 | 1 | -3/+4 |
|\ \ | |/ | | | | | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka. | ||||
| * | Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵ | Antoine Pitrou | 2012-09-23 | 1 | -2/+26 |
| | | | | | | | | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka. | ||||
* | | Issue 15959: Merge from 3.2. | Mark Dickinson | 2012-09-20 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy ↵ | Mark Dickinson | 2012-09-20 | 1 | -1/+1 |
| | | | | | | | | Storchaka. | ||||
* | | Issue #15144: Fix possible integer overflow when handling pointers as ↵ | Antoine Pitrou | 2012-09-20 | 5 | -32/+18 |
| | | | | | | | | | | | | integer values, by using Py_uintptr_t instead of size_t. Patch by Serhiy Storchaka. | ||||
* | | Silence compiler warnings on Solaris 10 via explicit (void *) casts. | Trent Nelson | 2012-09-19 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Silence compiler warnings on Solaris 10 via explicit (void *) casts. | Trent Nelson | 2012-09-19 | 1 | -3/+3 |
| | | | | | | | | (Compiler: Solaris Studio 12.3) | ||||
* | | Fix out of bounds read in long_new() for empty bytes with an explicit base. ↵ | Christian Heimes | 2012-09-12 | 1 | -2/+2 |
|\ \ | |/ | | | | | int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359 | ||||
| * | Fix out of bounds read in long_new() for empty bytes with an explicit base. ↵ | Christian Heimes | 2012-09-12 | 1 | -2/+2 |
| | | | | | | | | int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359 | ||||
* | | Issue #15900: Fixed reference leak in PyUnicode_TranslateCharmap() | Christian Heimes | 2012-09-11 | 1 | -6/+5 |
| | | |||||
* | | Fixed memory leak in error branch of object_repr which may leak a reference ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
|\ \ | |/ | | | | | to mod when type_qualname returns NULL. CID 715371 | ||||
| * | Fixed memory leak in error branch of object_repr which may leak a reference ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | | | | | | | to mod when type_name returns NULL. CID 715371 | ||||
* | | Fixed memory leak in error branch of formatfloat(). CID 719687 | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | |||||
* | | Fixed possible reference leak to mod when type_name() returns NULL | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | Fixed possible reference leak to mod when type_name() returns NULL | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | |||||
* | | PyTuple_Pack() was missing va_end() in its error branch which lead to a ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
|\ \ | |/ | | | | | resource leak. | ||||
| * | PyTuple_Pack() was missing va_end() in its error branch which lead to a ↵ | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | | | | | | | | resource leak. | ||||
* | | Fixed resource leak to scratch when _PyUnicodeWriter_Prepare fails | Christian Heimes | 2012-09-10 | 1 | -1/+3 |
| | |