From feea6e7bcf1735486a0a53c534b3680e884a8ec6 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 9 Sep 2016 11:11:45 -0700 Subject: Mention that the order-preserving aspect of the new dict implementation is an implementation detail (and why that is so). --- Doc/whatsnew/3.6.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 `_. :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 `_.) -- cgit v0.12