diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-09-08 19:51:24 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-09-08 19:51:24 (GMT) |
commit | 3b6a6b4215950bce2a3b4bfc7d1876ab11e5f591 (patch) | |
tree | ea9d0eb92290e7565280d82bb1e2f92f5a38fb83 /Doc | |
parent | 70897ec54c824bc66ae15678e0dc8da144227582 (diff) | |
download | cpython-3b6a6b4215950bce2a3b4bfc7d1876ab11e5f591.zip cpython-3b6a6b4215950bce2a3b4bfc7d1876ab11e5f591.tar.gz cpython-3b6a6b4215950bce2a3b4bfc7d1876ab11e5f591.tar.bz2 |
Add a new private version to the builtin dict type
Issue #26058: Add a new private version to the builtin dict type, incremented
at each dictionary creation and at each dictionary change.
Implementation of the PEP 509.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index a76ac9d..14d0579 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -367,6 +367,16 @@ class namespace, ``cls.__dict__``, is unchanged. PEP written and implemented by Eric Snow. +PEP 509: Add a private version to dict +-------------------------------------- + +Add a new private version to the builtin ``dict`` type, incremented at +each dictionary creation and at each dictionary change, to implement +fast guards on namespaces. + +(Contributed by Victor Stinner in :issue:`26058`.) + + Other Language Changes ====================== |