]> granicus.if.org Git - python/commit
Implement compact dict
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 8 Sep 2016 00:40:12 +0000 (17:40 -0700)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 8 Sep 2016 00:40:12 +0000 (17:40 -0700)
commit742da040db28e1284615e88874d5c952da80344e
treecab46d2fca910251fdfd92e248a2a484246f9354
parentd8b7770a0e4a79280a3b5346ae8a6593ea74facf
Implement compact dict

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.
12 files changed:
Doc/whatsnew/3.6.rst
Include/object.h
Lib/test/test_descr.py
Lib/test/test_gdb.py
Lib/test/test_ordered_dict.py
Lib/test/test_sys.py
Lib/test/test_weakref.py
Misc/NEWS
Objects/dict-common.h
Objects/dictobject.c
Objects/object.c
Objects/odictobject.c