Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #24848: Fixed bugs in UTF-7 decoding of misformed data: | Serhiy Storchaka | 2015-10-02 | 1 | -9/+12 |
| | | | | | 1. Non-ASCII bytes were accepted after shift sequence. 2. A low surrogate could be emitted in case of error in high surrogate. | ||||
* | Issue #25182: Fix compilation on Windows | Victor Stinner | 2015-09-30 | 1 | -3/+6 |
| | | | | Restore also errno value before calling PyErr_SetFromErrno(). | ||||
* | Issue #25182: The stdprinter (used as sys.stderr before the io module is | Serhiy Storchaka | 2015-09-30 | 1 | -6/+22 |
| | | | | imported at startup) now uses the backslashreplace error handler. | ||||
* | Issue #21279: Flesh out str.translate docs | Zachary Ware | 2015-08-06 | 1 | -5/+6 |
| | | | | Initial patch by Kinga Farkas, Martin Panter, and John Posner. | ||||
* | merge 3.3 (#24407) | Benjamin Peterson | 2015-07-05 | 1 | -7/+19 |
|\ | |||||
| * | protect against mutation of the dict during insertion (closes #24407) | Benjamin Peterson | 2015-07-05 | 1 | -7/+19 |
| | | |||||
* | | Issue #24467: Fixed possible buffer over-read in bytearray. The bytearray | Serhiy Storchaka | 2015-06-29 | 1 | -1/+3 |
| | | | | | | | | | | object now always allocates place for trailing null byte and it's buffer now is always null-terminated. | ||||
* | | Fixed indentation of Python examples in C comments. | Serhiy Storchaka | 2015-06-10 | 2 | -7/+7 |
| | | |||||
* | | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | 2015-05-30 | 4 | -15/+37 |
| | | | | | | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | ||||
* | | Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). | Serhiy Storchaka | 2015-05-22 | 2 | -7/+5 |
| | | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace. | ||||
* | | Issue #23985: Fixed integer overflow in iterator object. Patch by | Serhiy Storchaka | 2015-05-21 | 1 | -0/+5 |
| | | | | | | | | Clement Rouault. | ||||
* | | Fix some compilation warnings when using gcc (-Wmaybe-uninitialized). | Antoine Pitrou | 2015-05-19 | 1 | -17/+17 |
| | | |||||
* | | Issue #23985: Fix a possible buffer overrun when deleting a slice from the ↵ | Antoine Pitrou | 2015-05-19 | 1 | -6/+2 |
| | | | | | | | | | | | | front of a bytearray and then appending some other bytes data. Patch by Martin Panter. | ||||
* | | Fixed typos in comments. | Serhiy Storchaka | 2015-05-18 | 1 | -2/+2 |
| | | |||||
* | | Issue #23757: Only call the concrete list API for exact lists. | Raymond Hettinger | 2015-05-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #21354: PyCFunction_New function is exposed by python DLL again. | Andrew Svetlov | 2015-04-27 | 1 | -1/+1 |
| | | |||||
* | | Issue #23996: Avoid a crash when a delegated generator raises an ↵ | Antoine Pitrou | 2015-04-26 | 1 | -5/+22 |
| | | | | | | | | unnormalized StopIteration exception. Patch by Stefan Behnel. | ||||
* | | merge 3.3 (#24044) | Benjamin Peterson | 2015-04-23 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | merge 3.2 (#24044) | Benjamin Peterson | 2015-04-23 | 1 | -2/+4 |
| |\ | |||||
| | * | properly handle malloc failure (closes #24044) | Benjamin Peterson | 2015-04-23 | 1 | -2/+4 |
| | | | | | | | | | | | | Patch by Christian Heimes. | ||||
| | * | Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV. | Serhiy Storchaka | 2015-01-30 | 1 | -0/+2 |
| | | | |||||
| | * | Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis | Serhiy Storchaka | 2015-01-27 | 1 | -17/+20 |
| | | | | | | | | | | | | and fix by Guido Vranken. | ||||
| | * | Fix unicode_aswidechar() for 4b unicode and 2b wchar_t (AIX). | Georg Brandl | 2014-10-01 | 1 | -1/+1 |
| | | | |||||
* | | | improved range docstring (closes #22785) | Benjamin Peterson | 2015-04-22 | 1 | -1/+5 |
| | | | | | | | | | | | | Patch by Ned Batchelder. | ||||
* | | | Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of | Serhiy Storchaka | 2015-03-30 | 1 | -7/+4 |
| | | | | | | | | | | | | MemoryError. | ||||
* | | | Issue #23803: Fixed str.partition() and str.rpartition() when a separator | Serhiy Storchaka | 2015-03-29 | 1 | -5/+5 |
| | | | | | | | | | | | | is wider then partitioned string. | ||||
* | | | Issue #22079: Deprecation warning now is issued in PyType_Ready() instead of | Serhiy Storchaka | 2015-03-22 | 1 | -5/+8 |
| | | | | | | | | | | | | | | | raising TypeError when statically allocated type subclasses dynamically allocated type | ||||
* | | | Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵ | Antoine Pitrou | 2015-03-10 | 3 | -27/+1 |
| | | | | | | | | | | | | objects. | ||||
* | | | fix potential refleak in PyFloat_AsDouble (closes #23590) | Benjamin Peterson | 2015-03-06 | 1 | -0/+1 |
| | | | |||||
* | | | merge 3.3 (#23362) | Benjamin Peterson | 2015-03-02 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | use PyMem_NEW to detect overflow (closes #23362) | Benjamin Peterson | 2015-03-02 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis | Serhiy Storchaka | 2015-01-27 | 1 | -0/+2 |
| | | | | | | | | | | | | and fix by Guido Vranken. | ||||
* | | | fix merge_collapse to actually maintain the invariant it purports to (closes ↵ | Benjamin Peterson | 2015-02-25 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | #23515) See de Gouw, Stijn and Rot, Jurriaan and de Boer, Frank S and Bubel, Richard and Hähnle, Reiner "OpenJDK’s java.utils.Collection.sort() is broken: The good, the bad and the worst case" | ||||
* | | | Issue #23490: Fixed possible crashes related to interoperability between | Serhiy Storchaka | 2015-02-20 | 1 | -0/+9 |
| | | | | | | | | | | | | old-style and new API for string with 2**30-1 characters. | ||||
* | | | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -17/+5 |
| | | | | | | | | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
* | | | Fix definition mismatch for type_is_subtype_base_chain. | Steve Dower | 2015-02-06 | 1 | -1/+1 |
| | | | |||||
* | | | fix many custom mro() edge cases and improve code quality (#22735) | Benjamin Peterson | 2015-02-06 | 1 | -253/+392 |
| | | | | | | | | | | | | Patch by Eldar Abusalimov. | ||||
* | | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() | Serhiy Storchaka | 2015-02-02 | 8 | -244/+189 |
| | | | | | | | | | | | | and PyObject_AsWriteBuffer(). | ||||
* | | | Issue #23370: Fix off-by-one error for non-contiguous buffers. | Stefan Krah | 2015-02-01 | 1 | -2/+2 |
| | | | |||||
* | | | Issue #22668: Ensure that format strings survive slicing after casting. | Stefan Krah | 2015-01-29 | 1 | -4/+52 |
| | | | |||||
* | | | Issue #22079: PyType_Ready() now checks that statically allocated type has | Serhiy Storchaka | 2015-01-28 | 1 | -0/+14 |
| | | | | | | | | | | | | no dynamically allocated bases. | ||||
* | | | Issue #21408: The default __ne__() now returns NotImplemented if __eq__() | Serhiy Storchaka | 2015-01-26 | 1 | -2/+7 |
| | | | | | | | | | | | | returned NotImplemented. Removed incorrect implementations of __ne__(). | ||||
* | | | Issue #23321: Fixed a crash in str.decode() when error handler returned | Serhiy Storchaka | 2015-01-25 | 1 | -2/+6 |
| | | | | | | | | | | | | replacment string longer than mailformed input data. | ||||
* | | | Issue #23181: More "codepoint" -> "code point". | Serhiy Storchaka | 2015-01-18 | 1 | -2/+2 |
| | | | |||||
* | | | remove buzzword (closes #23210) | Benjamin Peterson | 2015-01-09 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 2 | -5/+4 |
| | | | |||||
* | | | Issue #20335: bytes constructor now raises TypeError when encoding or errors | Serhiy Storchaka | 2014-12-02 | 1 | -7/+7 |
| | | | | | | | | | | | | is specified with non-string argument. Based on patch by Renaud Blanch. | ||||
* | | | Issue #22975: Close block at right place. | Serhiy Storchaka | 2014-12-01 | 1 | -1/+1 |
| | | | |||||
* | | | remove tautological condition (closes #22954) | Benjamin Peterson | 2014-11-27 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff ↵ | Antoine Pitrou | 2014-11-02 | 2 | -11/+18 |
| | | | | | | | | | | | | bytes on a 32-bit platform. |