Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Issue #22570: Renamed Py_SETREF to Py_XSETREF. | Serhiy Storchaka | 2016-04-06 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
* | | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 1 | -7/+13 | |
|\ \ | |/ | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | |||||
| * | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 1 | -7/+13 | |
| | | | | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | |||||
* | | Tests versus zero are more compact than tests versus -1. | Raymond Hettinger | 2016-01-25 | 1 | -6/+6 | |
| | | ||||||
* | | Issue #20440: Cleaning up the code by using Py_SETREF and Py_CLEAR. | Serhiy Storchaka | 2015-12-27 | 1 | -8/+2 | |
|/ | | | | | Old code is correct, but with Py_SETREF and Py_CLEAR it can be cleaner. This patch doesn't fix bugs and hence there is no need to backport it. | |||||
* | Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size. | Serhiy Storchaka | 2015-12-19 | 1 | -1/+1 | |
| | | | | | This allows sys.getsize() to work correctly with their subclasses with __slots__ defined. | |||||
* | merge 3.4 (#24044) | Benjamin Peterson | 2015-04-23 | 1 | -2/+4 | |
|\ | ||||||
| * | 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. | |||||
* | | | | merge 3.4 (#23515) | Benjamin Peterson | 2015-02-25 | 1 | -1/+2 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | 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 #22077: Improve index error messages for bytearrays, bytes, lists, and | Terry Jan Reedy | 2014-08-02 | 1 | -2/+2 | |
|/ / / | | | | | | | | | | | | | tuples by adding 'or slices'. Added ', not <typename' for bytearrays. Original patch by Claudiu Popa. | |||||
* | | | merge 3.3 | Benjamin Peterson | 2014-03-15 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | avoid referencing past the bounds of an array | Benjamin Peterson | 2014-03-15 | 1 | -1/+1 | |
| | | | ||||||
* | | | merge 3.3 | Benjamin Peterson | 2014-03-15 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | avoid referencing out-of-bounds memory | Benjamin Peterson | 2014-03-15 | 1 | -1/+1 | |
| | | | ||||||
* | | | Make the various iterators' "setstate" sliently and consistently clip the | Kristján Valur Jónsson | 2014-03-05 | 1 | -0/+2 | |
|\ \ \ | |/ / | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state. | |||||
| * | | Make the various iterators' "setstate" sliently and consistently clip the | Kristján Valur Jónsson | 2014-03-05 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state. | |||||
* | | | Close #19578: Fix list_ass_subscript(), handle list_resize() failure | Victor Stinner | 2013-11-21 | 1 | -2/+3 | |
| | | | | | | | | | | | | Notify the caller of the failure (MemoryError exception). | |||||
* | | | Add _PyUnicodeWriter_WriteASCIIString() function | Victor Stinner | 2013-11-19 | 1 | -8/+1 | |
| | | | ||||||
* | | | Issue #19513: Disable overallocation of the PyUnicodeWriter before the last ↵ | Victor Stinner | 2013-11-19 | 1 | -0/+1 | |
| | | | | | | | | | | | | write | |||||
* | | | Issue #19513: Simplify list_repr() | Victor Stinner | 2013-11-18 | 1 | -8/+2 | |
| | | | ||||||
* | | | Issue #19513: repr(list) now uses the PyUnicodeWriter API, it is faster than | Victor Stinner | 2013-11-18 | 1 | -16/+28 | |
| | | | | | | | | | | | | the PyAccu API | |||||
* | | | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 1 | -7/+7 | |
| | | | ||||||
* | | | Issue #18408: Fix list_ass_slice(), handle list_resize() failure | Victor Stinner | 2013-07-19 | 1 | -3/+8 | |
| | | | | | | | | | | | | | | | I tested the patch manually by injecting a fault using gdb: list items are correctly restored on failure. | |||||
* | | | Issue #18408: Fix listpop(), handle list_ass_slice() failure | Victor Stinner | 2013-07-17 | 1 | -6/+4 | |
| | | | ||||||
* | | | Issue #18408: Fix list.extend(), handle list_resize() failure | Victor Stinner | 2013-07-16 | 1 | -2/+4 | |
| | | | ||||||
* | | | Issue #18408: Fix list.pop() to handle list_resize() failure (MemoryError). | Victor Stinner | 2013-07-08 | 1 | -2/+4 | |
| | | | ||||||
* | | | Issue #9566: More long/Py_ssize_t fixes in tuple and list iterators (it_index) | Victor Stinner | 2013-06-24 | 1 | -3/+3 | |
| | | | ||||||
* | | | Issue #16148: implemented PEP 424 | Armin Ronacher | 2012-10-06 | 1 | -1/+1 | |
|/ / | ||||||
* | | Issue #14785: Add sys._debugmallocstats() to help debug low-level memory ↵ | David Malcolm | 2012-06-22 | 1 | -0/+9 | |
| | | | | | | | | allocation issues | |||||
* | | Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in ↵ | Antoine Pitrou | 2012-04-04 | 1 | -3/+3 | |
| | | | | | | | | the stable ABI. | |||||
* | | Issue #14288: Serialization support for builtin iterators. | Kristján Valur Jónsson | 2012-04-03 | 1 | -0/+80 | |
| | | ||||||
* | | Issue #14387: Do not include accu.h from Python.h. | Antoine Pitrou | 2012-03-22 | 1 | -0/+1 | |
|\ \ | |/ | ||||||
| * | Issue #14387: Do not include accu.h from Python.h. | Antoine Pitrou | 2012-03-22 | 1 | -0/+1 | |
| | | ||||||
* | | Issue #13389: Full garbage collection passes now clear the freelists for | Antoine Pitrou | 2011-11-14 | 1 | -3/+10 | |
| | | | | | | | | | | list and dict objects. They already cleared other freelists in the interpreter. | |||||
* | | Revert "Accept None as start and stop parameters for list.index() and ↵ | Petri Lehtinen | 2011-11-06 | 1 | -11/+3 | |
|\ \ | |/ | | | | | | | | | tuple.index()" Issue #13340. | |||||
| * | Revert "Accept None as start and stop parameters for list.index() and ↵ | Petri Lehtinen | 2011-11-06 | 1 | -11/+3 | |
| | | | | | | | | | | | | tuple.index()" Issue #13340. | |||||
* | | Issue #13350: Replace most usages of PyUnicode_Format by PyUnicode_FromFormat. | Amaury Forgeot d'Arc | 2011-11-06 | 1 | -16/+2 | |
| | | ||||||
* | | Accept None as start and stop parameters for list.index() and tuple.index(). | Petri Lehtinen | 2011-11-05 | 1 | -3/+11 | |
|\ \ | |/ | | | | | Closes #13340. | |||||
| * | Accept None as start and stop parameters for list.index() and tuple.index() | Petri Lehtinen | 2011-11-05 | 1 | -3/+11 | |
| | | | | | | | | Closes #13340. | |||||
* | | Closes #12192: Document that mutating list methods do not return the ↵ | Georg Brandl | 2011-10-08 | 1 | -4/+4 | |
| | | | | | | | | instance (original patch by Mike Hoy). | |||||
* | | Issue #12911: Fix memory consumption when calculating the repr() of huge ↵ | Antoine Pitrou | 2011-10-06 | 1 | -46/+35 | |
|\ \ | |/ | | | | | | | | | | | tuples or lists. This introduces a small private API for this common pattern. The issue has been discovered thanks to Martin's huge-mem buildbot. | |||||
| * | Issue #12911: Fix memory consumption when calculating the repr() of huge ↵ | Antoine Pitrou | 2011-10-06 | 1 | -46/+35 | |
| | | | | | | | | | | | | | | tuples or lists. This introduces a small private API for this common pattern. The issue has been discovered thanks to Martin's huge-mem buildbot. | |||||
* | | Issue #1621: Fix undefined behaviour from signed overflow in datetime module ↵ | Mark Dickinson | 2011-09-25 | 1 | -3/+3 | |
| | | | | | | | | hashes, array and list iterations, and get_integer (stringlib/string_format.h) | |||||
* | | Merge issue #12973 list_repeat fix. | Mark Dickinson | 2011-09-19 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Issue #12973: Fix undefined-behaviour-inducing overflow check in list_repeat. | Mark Dickinson | 2011-09-19 | 1 | -3/+3 | |
| | | ||||||
| * | #11335: Fix memory leak after key function failure in sort | Daniel Stutzbach | 2011-05-04 | 1 | -0/+2 | |
| | | ||||||
* | | Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED. | Brian Curtin | 2011-08-11 | 1 | -4/+2 | |
| | | | | | | | | The macro was introduced in #12724. |