Skip to content

Commit 30c825c

Browse files
committed
What's New in Python 3.3: Repeat the dict lookup change in Porting section
1 parent ecc6e66 commit 30c825c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/whatsnew/3.3.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,6 +1117,11 @@ Porting Python code
11171117

11181118
.. XXX add a point about hash randomization and that it's always on in 3.3
11191119
1120+
* :issue:`14205`: A dict lookup now raises a :exc:`RuntimeError` if the dict is
1121+
modified during the lookup. If you implement your own comparison function for
1122+
objects used as dict keys and the dict is shared by multiple threads, access
1123+
to the dict should be protected by a lock.
1124+
11201125
* :issue:`12326`: On Linux, sys.platform doesn't contain the major version
11211126
anymore. It is now always 'linux', instead of 'linux2' or 'linux3' depending
11221127
on the Linux version used to build Python. Replace sys.platform == 'linux2'

0 commit comments

Comments
 (0)