summaryrefslogtreecommitdiffstats
path: root/Objects
Commit message (Collapse)AuthorAgeFilesLines
* merge 3.3 (#24407)Benjamin Peterson2015-07-051-7/+19
|\
| * protect against mutation of the dict during insertion (closes #24407)Benjamin Peterson2015-07-051-7/+19
| |
* | Issue #24467: Fixed possible buffer over-read in bytearray. The bytearraySerhiy Storchaka2015-06-291-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 Storchaka2015-06-102-7/+7
| |
* | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),Serhiy Storchaka2015-05-304-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 Storchaka2015-05-222-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 bySerhiy Storchaka2015-05-211-0/+5
| | | | | | | | Clement Rouault.
* | Fix some compilation warnings when using gcc (-Wmaybe-uninitialized).Antoine Pitrou2015-05-191-17/+17
| |
* | Issue #23985: Fix a possible buffer overrun when deleting a slice from the ↵Antoine Pitrou2015-05-191-6/+2
| | | | | | | | | | | | front of a bytearray and then appending some other bytes data. Patch by Martin Panter.
* | Fixed typos in comments.Serhiy Storchaka2015-05-181-2/+2
| |
* | Issue #23757: Only call the concrete list API for exact lists.Raymond Hettinger2015-05-171-1/+1
| |
* | Issue #21354: PyCFunction_New function is exposed by python DLL again.Andrew Svetlov2015-04-271-1/+1
| |
* | Issue #23996: Avoid a crash when a delegated generator raises an ↵Antoine Pitrou2015-04-261-5/+22
| | | | | | | | unnormalized StopIteration exception. Patch by Stefan Behnel.
* | merge 3.3 (#24044)Benjamin Peterson2015-04-231-2/+4
|\ \ | |/
| * merge 3.2 (#24044)Benjamin Peterson2015-04-231-2/+4
| |\
| | * properly handle malloc failure (closes #24044)Benjamin Peterson2015-04-231-2/+4
| | | | | | | | | | | | Patch by Christian Heimes.
| | * Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV.Serhiy Storchaka2015-01-301-0/+2
| | |
| | * Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. AnalysisSerhiy Storchaka2015-01-271-17/+20
| | | | | | | | | | | | and fix by Guido Vranken.
| | * Fix unicode_aswidechar() for 4b unicode and 2b wchar_t (AIX).Georg Brandl2014-10-011-1/+1
| | |
* | | improved range docstring (closes #22785)Benjamin Peterson2015-04-221-1/+5
| | | | | | | | | | | | Patch by Ned Batchelder.
* | | Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case ofSerhiy Storchaka2015-03-301-7/+4
| | | | | | | | | | | | MemoryError.
* | | Issue #23803: Fixed str.partition() and str.rpartition() when a separatorSerhiy Storchaka2015-03-291-5/+5
| | | | | | | | | | | | is wider then partitioned string.
* | | Issue #22079: Deprecation warning now is issued in PyType_Ready() instead ofSerhiy Storchaka2015-03-221-5/+8
| | | | | | | | | | | | | | | raising TypeError when statically allocated type subclasses dynamically allocated type
* | | Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵Antoine Pitrou2015-03-103-27/+1
| | | | | | | | | | | | objects.
* | | fix potential refleak in PyFloat_AsDouble (closes #23590)Benjamin Peterson2015-03-061-0/+1
| | |
* | | merge 3.3 (#23362)Benjamin Peterson2015-03-021-1/+1
|\ \ \ | |/ /
| * | use PyMem_NEW to detect overflow (closes #23362)Benjamin Peterson2015-03-021-1/+1
| | |
| * | Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. AnalysisSerhiy Storchaka2015-01-271-0/+2
| | | | | | | | | | | | and fix by Guido Vranken.
* | | fix merge_collapse to actually maintain the invariant it purports to (closes ↵Benjamin Peterson2015-02-251-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 betweenSerhiy Storchaka2015-02-201-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 integerSerhiy Storchaka2015-02-161-17/+5
| | | | | | | | | | | | overflows. Added few missed PyErr_NoMemory().
* | | Fix definition mismatch for type_is_subtype_base_chain.Steve Dower2015-02-061-1/+1
| | |
* | | fix many custom mro() edge cases and improve code quality (#22735)Benjamin Peterson2015-02-061-253/+392
| | | | | | | | | | | | Patch by Eldar Abusalimov.
* | | Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()Serhiy Storchaka2015-02-028-244/+189
| | | | | | | | | | | | and PyObject_AsWriteBuffer().
* | | Issue #23370: Fix off-by-one error for non-contiguous buffers.Stefan Krah2015-02-011-2/+2
| | |
* | | Issue #22668: Ensure that format strings survive slicing after casting.Stefan Krah2015-01-291-4/+52
| | |
* | | Issue #22079: PyType_Ready() now checks that statically allocated type hasSerhiy Storchaka2015-01-281-0/+14
| | | | | | | | | | | | no dynamically allocated bases.
* | | Issue #21408: The default __ne__() now returns NotImplemented if __eq__()Serhiy Storchaka2015-01-261-2/+7
| | | | | | | | | | | | returned NotImplemented. Removed incorrect implementations of __ne__().
* | | Issue #23321: Fixed a crash in str.decode() when error handler returnedSerhiy Storchaka2015-01-251-2/+6
| | | | | | | | | | | | replacment string longer than mailformed input data.
* | | Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-2/+2
| | |
* | | remove buzzword (closes #23210)Benjamin Peterson2015-01-091-1/+1
| | |
* | | Issue #22581: Use more "bytes-like object" throughout the docs and comments.Serhiy Storchaka2014-12-052-5/+4
| | |
* | | Issue #20335: bytes constructor now raises TypeError when encoding or errorsSerhiy Storchaka2014-12-021-7/+7
| | | | | | | | | | | | is specified with non-string argument. Based on patch by Renaud Blanch.
* | | Issue #22975: Close block at right place.Serhiy Storchaka2014-12-011-1/+1
| | |
* | | remove tautological condition (closes #22954)Benjamin Peterson2014-11-271-1/+1
| | |
* | | Issue #22335: Fix crash when trying to enlarge a bytearray to 0x7fffffff ↵Antoine Pitrou2014-11-022-11/+18
| | | | | | | | | | | | bytes on a 32-bit platform.
* | | Closes #22772: fix __ifloordiv__ and __itruediv__ docstring.Georg Brandl2014-10-311-2/+2
| | |
* | | Issue #22653: Fix an assertion failure in debug mode when doing a reentrant ↵Antoine Pitrou2014-10-171-3/+3
| | | | | | | | | | | | dict insertion in debug mode.
* | | Merge 3.3Benjamin Peterson2014-10-161-1/+1
|\ \ \ | |/ /
| * | Fixed signed/unsigned comparison warningAntoine Pitrou2014-10-151-1/+1
| | |