| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [3.5] bpo-27945: Fixed various segfaults with dict. (GH-1657) (#1678) | Serhiy Storchaka | 2017-05-20 | 1 | -29/+51 |
| | | | | | Based on patches by Duane Griffin and Tim Mitchell. (cherry picked from commit 753bca3934a7618a4fa96e107ad1c5c18633a683) | ||||
| * | bpo-24274: fix comment in dictobject.c (GH-194) | INADA Naoki | 2017-02-20 | 1 | -1/+1 |
| | | |||||
| * | bpo-29438: Fixed use-after-free in key sharing dict (#40) | INADA Naoki | 2017-02-13 | 1 | -6/+4 |
| | | |||||
| * | Issue #28969: Fixed race condition in C implementation of functools.lru_cache. | Serhiy Storchaka | 2017-01-12 | 1 | -8/+23 |
| | | | | | | KeyError could be raised when cached function with full cache was simultaneously called from differen threads with the same uncached arguments. | ||||
| * | Issue #28427: old keys should not remove new values from | Antoine Pitrou | 2016-12-27 | 1 | -25/+56 |
| | | | | | WeakValueDictionary when collecting from another thread. | ||||
| * | Issue #28147: Fix a memory leak in split-table dictionaries | INADA Naoki | 2016-12-20 | 1 | -6/+15 |
| | | | | | setattr() must not convert combined table into split table. | ||||
| * | Issue #28189: dictitems_contains no longer swallows compare errors. | Raymond Hettinger | 2016-09-19 | 1 | -1/+1 |
| | | | | | (Patch by Xiang Zhang) | ||||
| * | #20647: Update dictobject.c comments to account for randomized string hashes. | R David Murray | 2016-07-10 | 1 | -8/+5 |
| | | | | | Patch by Jaysinh Shukla. | ||||
| * | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 1 | -3/+3 |
| | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator. | ||||
| * | merge 3.4 (closes #26478) | Benjamin Peterson | 2016-03-04 | 1 | -5/+4 |
| |\ | |||||
| | * | properly use the ObjArgs variant of CallMethod in dictview binary operations ↵ | Benjamin Peterson | 2016-03-04 | 1 | -5/+4 |
| | | | | | | | | | (closes #26478) | ||||
| * | | Add _PyThreadState_UncheckedGet() | Victor Stinner | 2016-01-20 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which gets the current thread state, but don't call Py_FatalError() if it is NULL. Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to no more expose complex and private atomic types. Atomic types depends on the compiler or can even depend on compiler options. The new function _PyThreadState_UncheckedGet() allows to get the variable value without having to care of the exact implementation of atomic types. Changes: * Replace direct usage of the _PyThreadState_Current variable with a call to _PyThreadState_UncheckedGet(). * In pystate.c, replace direct usage of the _PyThreadState_Current variable with the PyThreadState_GET() macro for readability. * Document also PyThreadState_Get() in pystate.h | ||||
| * | | dictobject.c(dict_sizeof): Make it static again. | doko@ubuntu.com | 2016-01-14 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #25914: Fixed and simplified OrderedDict.__sizeof__. | Serhiy Storchaka | 2015-12-22 | 1 | -3/+9 |
| | | | |||||
| * | | 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. | ||||
| * | | Issue #24483: C implementation of functools.lru_cache() now calculates key's | Serhiy Storchaka | 2015-10-02 | 1 | -0/+37 |
| | | | | | | | | | hash only once. | ||||
| * | | merge 3.4 (#24407) | Benjamin Peterson | 2015-07-05 | 1 | -7/+19 |
| |\ \ | |/ | |||||
| | * | 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 #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-30 | 1 | -172/+165 |
| | | | | |||||
| * | | | PEP 448: additional unpacking generalizations (closes #2292) | Benjamin Peterson | 2015-05-06 | 1 | -3/+3 |
| | | | | | | | | | | | | | Patch by Neil Girdhar. | ||||
| * | | | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -40/+4 |
| | | | | |||||
| * | | | Issue #22653: Fix an assertion failure in debug mode when doing a reentrant ↵ | Antoine Pitrou | 2014-10-17 | 1 | -3/+3 |
| |\ \ \ | |/ / | | | | | | | dict insertion in debug mode. | ||||
| | * | | Issue #22653: Fix an assertion failure in debug mode when doing a reentrant ↵ | Antoine Pitrou | 2014-10-17 | 1 | -3/+3 |
| | | | | | | | | | | | | | dict insertion in debug mode. | ||||
| * | | | Issue 21101: Internal API for dict getitem and setitem where the hash value ↵ | Raymond Hettinger | 2014-05-03 | 1 | -0/+56 |
| |/ / | | | | | | | is known. | ||||
| * | | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4. | ||||
| * | | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date). | ||||
| * | | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -5/+4 |
| | | | |||||
| * | | Issue #20189: Four additional builtin types (PyTypeObject, | Larry Hastings | 2014-01-24 | 1 | -21/+50 |
| | | | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes. | ||||
| * | | Fix minor bug in dict.__contains__ docstring. | Meador Inge | 2014-01-14 | 1 | -3/+3 |
| | | | | | | | | | | | When dict got clinicized in 8fde1a2c94dc for Issue #16612 an erroneous trailing quote was left in the clinic docstring summary line. | ||||
| * | | Issue #19273: The marker comments Argument Clinic uses have been changed | Larry Hastings | 2014-01-07 | 1 | -6/+6 |
| | | | | | | | | | to improve readability. | ||||
| * | | Issue #19674: inspect.signature() now produces a correct signature | Larry Hastings | 2013-11-23 | 1 | -5/+8 |
| | | | | | | | | | for some builtins. | ||||
| * | | Issue #19646: repr(dict) now uses _PyUnicodeWriter API for better performances | Victor Stinner | 2013-11-19 | 1 | -55/+54 |
| | | | |||||
| * | | Argument Clinic: rename "self" to "module" for module-level functions. | Larry Hastings | 2013-11-18 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #19512: Add a new _PyDict_DelItemId() function, similar to | Victor Stinner | 2013-11-06 | 1 | -0/+9 |
| | | | | | | | | | PyDict_DelItemString() but using an identifier for the key | ||||
| * | | Issue #16612: Add "Argument Clinic", a compile-time preprocessor | Larry Hastings | 2013-10-19 | 1 | -6/+24 |
| | | | | | | | | | for C files to generate argument parsing code. (See PEP 436.) | ||||
| * | | Factor-out the common code for setting a KeyError. | Raymond Hettinger | 2013-09-02 | 1 | -18/+4 |
| | | | |||||
| * | | Issue #18722: Remove uses of the "register" keyword in C code. | Antoine Pitrou | 2013-08-13 | 1 | -39/+39 |
| | | | |||||
| * | | Issue #18520: Fix _PyDict_GetItemId(), suppress _PyUnicode_FromId() error | Victor Stinner | 2013-07-22 | 1 | -1/+3 |
| | | | | | | | | | | | As PyDict_GetItem(), _PyDict_GetItemId() suppresses all errors that may occur, for historical reasons. | ||||
| * | | Issue #18408: Fix dict_repr(), don't call PyObject_Repr() with an exception set | Victor Stinner | 2013-07-17 | 1 | -0/+3 |
| | | | | | | | | | | | PyObject_Repr() can removes the current exception. For example, module_repr() calls PyErr_Clear() if calling loader.module_repr(mod) failed. | ||||
| * | | Issue #18408: dict_new() now fails on new_keys_object() error | Victor Stinner | 2013-07-16 | 1 | -10/+9 |
| | | | | | | | | | Pass the MemoryError exception to the caller, instead of using empty keys. | ||||
| * | | Cleanup dictobject.c | Victor Stinner | 2013-07-16 | 1 | -17/+19 |
| | | | |||||
| * | | Issue #18408: Fix PyDict_GetItemString(), suppress PyUnicode_FromString() error | Victor Stinner | 2013-07-16 | 1 | -1/+3 |
| | | | | | | | | | | | As PyDict_GetItem(), PyDict_GetItemString() suppresses all errors that may occur for historical reasons. | ||||
| * | | Issue #18408: Fix PyDict_New() to handle correctly new_keys_object() failure | Victor Stinner | 2013-07-08 | 1 | -1/+5 |
| | | | | | | | | | (MemoryError). | ||||
| * | | merge | Raymond Hettinger | 2013-05-17 | 1 | -7/+11 |
| |\ \ | |/ | |||||
| | * | Issue #17563: Fix dict resize performance regression. | Raymond Hettinger | 2013-05-17 | 1 | -7/+11 |
| | | | |||||
| * | | Touch up grammar for dict.update() docstring. | Brett Cannon | 2013-05-11 | 1 | -4/+4 |
| | | | |||||
| * | | fix warning (closes #17327) | Benjamin Peterson | 2013-03-08 | 1 | -1/+1 |
| | | | |||||
| * | | Add PyDict_SetDefault. (closes #17327) | Benjamin Peterson | 2013-03-08 | 1 | -11/+23 |
| | | | | | | | | | Patch by Stefan Behnel and I. | ||||
| * | | merge 3.3 (#17328) | Benjamin Peterson | 2013-03-04 | 1 | -2/+2 |
| |\ \ | |/ | |||||
