diff options
author | Brett Cannon <brett@python.org> | 2016-09-09 18:11:45 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2016-09-09 18:11:45 (GMT) |
commit | feea6e7bcf1735486a0a53c534b3680e884a8ec6 (patch) | |
tree | 3924a24eee51b71a7269765dcf0d6e32ae86a388 /Doc/whatsnew | |
parent | b78d52f1089a6af842f663cd407d0f53083e15da (diff) | |
download | cpython-feea6e7bcf1735486a0a53c534b3680e884a8ec6.zip cpython-feea6e7bcf1735486a0a53c534b3680e884a8ec6.tar.gz cpython-feea6e7bcf1735486a0a53c534b3680e884a8ec6.tar.bz2 |
Mention that the order-preserving aspect of the new dict
implementation is an implementation detail (and why that is so).
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 34ebadd..a150d9d 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -416,7 +416,14 @@ Some smaller changes made to the core Python language are: * :func:`dict` now uses a "compact" representation `pioneered by PyPy <https://morepypy.blogspot.com/2015/01/faster-more-memory-efficient-and-more.html>`_. :pep:`468` (Preserving the order of ``**kwargs`` in a function.) is - implemented by this. (Contributed by INADA Naoki in :issue:`27350`. Idea + implemented by this. The order-preserving aspect of this new + implementation is considered an implementation detail and should + not be relied upon (this may change in the future, but it is desired + to have this new dict implementation in the language for a few + releases before changing the language spec to mandate + order-preserving semantics for all current and future Python + implementations). + (Contributed by INADA Naoki in :issue:`27350`. Idea `originally suggested by Raymond Hettinger <https://mail.python.org/pipermail/python-dev/2012-December/123028.html>`_.) |