Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | remove unnecessary braces and indentation | Benjamin Peterson | 2015-06-06 | 1 | -58/+57 | |
| | | | ||||||
* | | | fix refleak when keys() fails | Benjamin Peterson | 2015-06-04 | 1 | -2/+6 | |
| | | | ||||||
* | | | Issue #24369: Defend against key-changes during iteration. | Eric Snow | 2015-06-04 | 1 | -13/+19 | |
| | | | ||||||
* | | | Issue #24377: Fix a ref leak in OrderedDict.__repr__. | Eric Snow | 2015-06-03 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #24362: Simplify the C OrderedDict fast nodes resize logic. | Eric Snow | 2015-06-03 | 1 | -34/+40 | |
| | | | ||||||
* | | | Issue #24368: Support keyword arguments in OrderedDict methods. | Eric Snow | 2015-06-02 | 1 | -23/+49 | |
| | | | ||||||
* | | | Issue #24359: Check for changed OrderedDict size during iteration. | Eric Snow | 2015-06-01 | 1 | -0/+10 | |
| | | | ||||||
* | | | Issue #24348: Drop superfluous increfs/decrefs. | Eric Snow | 2015-06-01 | 1 | -33/+13 | |
| | | | ||||||
* | | | Issue #24347: Set KeyError if PyDict_GetItemWithError returns NULL. | Eric Snow | 2015-06-01 | 1 | -15/+47 | |
| | | | ||||||
* | | | add Py_tp_finalize slot (closes #24345) | Benjamin Peterson | 2015-06-01 | 1 | -0/+1 | |
| | | | | | | | | | | | | Patch from Petr Viktorin. | |||||
* | | | Issue #24284: The startswith and endswith methods of the str class no longer | Serhiy Storchaka | 2015-05-31 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | return True when finding the empty string and the indexes are completely out of range. | |||||
* | | | Issue #16991: Fix a few leaks and other memory-related concerns in OrderedDict. | Eric Snow | 2015-05-30 | 1 | -12/+14 | |
| | | | ||||||
* | | | Issue #16991: Do not return None from OrderedDict.__reversed__. | Eric Snow | 2015-05-30 | 1 | -3/+0 | |
| | | | ||||||
* | | | Issue #16991: Properly handle return values in several places. | Eric Snow | 2015-05-30 | 1 | -16/+43 | |
| | | | ||||||
* | | | Reverting my previous commit. | Yury Selivanov | 2015-05-30 | 1 | -104/+41 | |
| | | | | | | | | | | | | Something went horribly wrong when I was doing `hg rebase`. | |||||
* | | | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | 2015-05-30 | 4 | -19/+46 | |
|\ \ \ | | | | | | | | | | | | | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | |||||
| * \ \ | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(), | Serhiy Storchaka | 2015-05-30 | 4 | -19/+46 | |
| |\ \ \ | | |/ / | | | | | | | | | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly. | |||||
| | * | | 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. | |||||
* | | | | Specify default values of semantic booleans in Argument Clinic generated ↵ | Serhiy Storchaka | 2015-05-30 | 2 | -4/+4 | |
|\ \ \ \ | |/ / / | | | | | | | | | signatures as booleans. | |||||
| * | | | Specify default values of semantic booleans in Argument Clinic generated ↵ | Serhiy Storchaka | 2015-05-30 | 2 | -4/+4 | |
| | | | | | | | | | | | | | | | | signatures as booleans. | |||||
| * | | | Issue #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-29 | 4 | -172/+2596 | |
| | | | | ||||||
* | | | | Issue #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-29 | 4 | -172/+2596 | |
| | | | | ||||||
* | | | | Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc. | Yury Selivanov | 2015-05-28 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue 24017: Drop getawaitablefunc and friends in favor of unaryfunc. | Yury Selivanov | 2015-05-28 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Issue #23359: Specialize set_lookkey intoa lookup function and an insert ↵ | Raymond Hettinger | 2015-05-27 | 1 | -41/+104 | |
|/ / / | | | | | | | | | | function. | |||||
* | | | Issue #24276: Fixed optimization of property descriptor getter. | Serhiy Storchaka | 2015-05-24 | 1 | -4/+21 | |
| | | | ||||||
* | | | Issue #24268: Address some PEP 489 refleaks | Nick Coghlan | 2015-05-24 | 2 | -5/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | - missing DECREF in PyModule_FromDefAndSpec2 - missing DECREF in PyType_FromSpecAndBases2 - missing DECREF in _testmultiphase module Patch by Petr Viktorin | |||||
* | | | PEP 489: Multi-phase extension module initialization | Nick Coghlan | 2015-05-23 | 1 | -52/+283 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Known limitations of the current implementation: - documentation changes are incomplete - there's a reference leak I haven't tracked down yet The leak is most visible by running: ./python -m test -R3:3 test_importlib However, you can also see it by running: ./python -X showrefcount Importing the array or _testmultiphase modules, and then deleting them from both sys.modules and the local namespace shows significant increases in the total number of active references each cycle. By contrast, with _testcapi (which continues to use single-phase initialisation) the global refcounts stabilise after a couple of cycles. | |||||
* | | | Issue 24237: Raise PendingDeprecationWarning per PEP 479 | Yury Selivanov | 2015-05-22 | 1 | -3/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Raise PendingDeprecationWarning when generator raises StopIteration and no __future__ import is used. Fix offenders in the stdlib and tests. See also issue 22906. Thanks to Nick Coghlan and Berker Peksag for reviews. | |||||
* | | | 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 #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. | |||||
| * | | 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 | -3/+3 | |
|\ \ \ | |/ / | ||||||
| * | | 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. | |||||
| * | | 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 | -4/+4 | |
|\ \ \ | |/ / | ||||||
| * | | Fixed typos in comments. | Serhiy Storchaka | 2015-05-18 | 1 | -2/+2 | |
| | | | ||||||
* | | | merge | Raymond Hettinger | 2015-05-17 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Issue #23757: Only call the concrete list API for exact lists. | Raymond Hettinger | 2015-05-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | Issue #24064: Help property() support GC | Raymond Hettinger | 2015-05-13 | 1 | -1/+9 | |
| | | | ||||||
* | | | Minor stylistic and consistency cleanup. | Raymond Hettinger | 2015-05-13 | 1 | -19/+19 | |
| | | | ||||||
* | | | Issue #23290: Optimize set_merge() for cases where the target is empty. | Raymond Hettinger | 2015-05-13 | 1 | -10/+40 | |
| | | | | | | | | | | | | (Contributed by Serhiy Storchaka.) | |||||
* | | | Issue #24064: Property() docstrings are now writeable. | Raymond Hettinger | 2015-05-13 | 1 | -1/+1 | |
| | | | | | | | | | | | | (Patch by Berker Peksag.) | |||||
* | | | Issue #22486: Added the math.gcd() function. The fractions.gcd() function ↵ | Serhiy Storchaka | 2015-05-13 | 1 | -0/+205 | |
| | | | | | | | | | | | | | | | | | | now is deprecated. Based on patch by Mark Dickinson. | |||||
* | | | Issue #15027: The UTF-32 encoder is now 3x to 7x faster. | Serhiy Storchaka | 2015-05-12 | 2 | -61/+128 | |
| | | | ||||||
* | | | Fix warnings for gen_get_iter() | Yury Selivanov | 2015-05-11 | 1 | -1/+1 | |
| | | | ||||||
* | | | PEP 0492 -- Coroutines with async and await syntax. Issue #24017. | Yury Selivanov | 2015-05-11 | 6 | -17/+198 | |
| | | | ||||||
* | | | Issue #22906: Do incref before SetCause/SetContext | Yury Selivanov | 2015-05-10 | 1 | -1/+1 | |
| | | |