diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-03-13 23:40:57 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-03-13 23:40:57 (GMT) |
commit | 30c825c7510ccb9a9999e95c6013a5ec60938d79 (patch) | |
tree | cb5fde4c7c0a358a375329c3ff64c77f072788d8 /Doc | |
parent | ecc6e6613f8c1853830aa25a140c2d790bd330d5 (diff) | |
download | cpython-30c825c7510ccb9a9999e95c6013a5ec60938d79.zip cpython-30c825c7510ccb9a9999e95c6013a5ec60938d79.tar.gz cpython-30c825c7510ccb9a9999e95c6013a5ec60938d79.tar.bz2 |
What's New in Python 3.3: Repeat the dict lookup change in Porting section
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 7392e70..84fdac1 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -1117,6 +1117,11 @@ Porting Python code .. XXX add a point about hash randomization and that it's always on in 3.3 +* :issue:`14205`: A dict lookup now raises a :exc:`RuntimeError` if the dict is + modified during the lookup. If you implement your own comparison function for + objects used as dict keys and the dict is shared by multiple threads, access + to the dict should be protected by a lock. + * :issue:`12326`: On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version used to build Python. Replace sys.platform == 'linux2' |