From: Victor Stinner <victor.stinner@gmail.com>
Date: Tue, 13 Mar 2012 23:40:57 +0000 (+0100)
Subject: What's New in Python 3.3: Repeat the dict lookup change in Porting section
X-Git-Tag: v3.3.0a2~213
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30c825c7510ccb9a9999e95c6013a5ec60938d79;p=python

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

diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 7392e7039c..84fdac15cd 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'