summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-08 00:40:12 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-09-08 00:40:12 (GMT)
commit742da040db28e1284615e88874d5c952da80344e (patch)
treecab46d2fca910251fdfd92e248a2a484246f9354 /Doc
parentd8b7770a0e4a79280a3b5346ae8a6593ea74facf (diff)
downloadcpython-742da040db28e1284615e88874d5c952da80344e.zip
cpython-742da040db28e1284615e88874d5c952da80344e.tar.gz
cpython-742da040db28e1284615e88874d5c952da80344e.tar.bz2
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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.6.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
index 59661be..a0de2b9 100644
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -343,6 +343,11 @@ Other Language Changes
Some smaller changes made to the core Python language are:
+* `dict` implementation is changed like PyPy. It is more compact and preserves
+ insertion order. :pep:`PEP 468` (Preserving the order of `**kwargs` in a
+ function.) is implemented by this.
+ (Contributed by INADA Naoki in :issue:`27350`.)
+
* Long sequences of repeated traceback lines are now abbreviated as
``"[Previous line repeated {count} more times]"`` (see
:ref:`py36-traceback` for an example).