diff options
author | Victor Stinner <vstinner@wyplay.com> | 2012-03-09 13:04:01 (GMT) |
---|---|---|
committer | Victor Stinner <vstinner@wyplay.com> | 2012-03-09 13:04:01 (GMT) |
commit | 8c43e69bce195d9b5d44d52258995e7a27041bab (patch) | |
tree | 32dbe65bb7225cf093779e56172b704fa11ae802 | |
parent | 63ed5664a1482539d073a6567b761134b6708700 (diff) | |
download | cpython-8c43e69bce195d9b5d44d52258995e7a27041bab.zip cpython-8c43e69bce195d9b5d44d52258995e7a27041bab.tar.gz cpython-8c43e69bce195d9b5d44d52258995e7a27041bab.tar.bz2 |
Issue #14205: Document the dict lookup change in What's New in Python 3.3
-rw-r--r-- | Doc/whatsnew/3.3.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 2ecb8ce..28294cb 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -474,6 +474,13 @@ Some smaller changes made to the core Python language are: (:issue:`12170`) +* A dict lookup now raises a :exc:`RuntimeError` if the dict is modified during + the lookup. If you implement your own comparaison 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:`14205`) + New and Improved Modules ======================== |