From: Victor Stinner Date: Fri, 9 Mar 2012 13:04:01 +0000 (+0100) Subject: Issue #14205: Document the dict lookup change in What's New in Python 3.3 X-Git-Tag: v3.3.0a2~251 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c43e69bce195d9b5d44d52258995e7a27041bab;p=thirdparty%2FPython%2Fcpython.git Issue #14205: Document the dict lookup change in What's New in Python 3.3 --- diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 2ecb8ce5f159..28294cb977d8 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 ========================