summaryrefslogtreecommitdiffstats
path: root/Objects/dict-common.h
Commit message (Collapse)AuthorAgeFilesLines
* bpo-29304: Simplify dict lookup functions (GH-2407)INADA Naoki2017-08-031-2/+1
| | | | * remove hashpos parameter from lookdict functions. * remove many duplicated code from lookdict functions.
* Issue #28818: Simplify lookdict functionsINADA Naoki2016-12-071-1/+1
|
* Add _PyDict_CheckConsistency()Victor Stinner2016-09-141-4/+2
| | | | | | | | Issue #28127: Add a function to check that a dictionary remains consistent after any change. By default, tables are not checked, only basic attributes. Define DEBUG_PYDICT (ex: gcc -D DEBUG_PYDICT) to also check dictionary "content".
* do not worry about 64-bit dict sizes on 32-bit platformsBenjamin Peterson2016-09-081-1/+3
|
* access dk_indices through a unionBenjamin Peterson2016-09-081-1/+6
|
* Add documentation to the dict implementationVictor Stinner2016-09-081-2/+41
| | | | Issue #27350.
* Implement compact dictVictor Stinner2016-09-081-3/+13
| | | | | | | | | | | | Issue #27350: `dict` implementation is changed like PyPy. It is more compact and preserves insertion order. _PyDict_Dummy() function has been removed. Disable test_gdb: python-gdb.py is not updated yet to the new structure of compact dictionaries (issue #28023). Patch written by INADA Naoki.
* Issue #16991: Add a C implementation of collections.OrderedDict.Eric Snow2015-05-301-0/+22