[Python-checkins] cpython: What's New in Python 3.3: Repeat the dict lookup change in Porting section

victor.stinner python-checkins at python.org
Wed Mar 14 00:40:42 CET 2012


http://hg.python.org/cpython/rev/f6199284ef3a
changeset: 75615:f6199284ef3a
user: Victor Stinner <victor.stinner at gmail.com>
date: Wed Mar 14 00:40:57 2012 +0100
summary:
 What's New in Python 3.3: Repeat the dict lookup change in Porting section
files:
 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
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -1117,6 +1117,11 @@
 
 .. 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'
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /