From 8c43e69bce195d9b5d44d52258995e7a27041bab Mon Sep 17 00:00:00 2001 From: Victor Stinner <vstinner@wyplay.com> Date: Fri, 9 Mar 2012 14:04:01 +0100 Subject: [PATCH] Issue #14205: Document the dict lookup change in What's New in Python 3.3 --- Doc/whatsnew/3.3.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 2ecb8ce5f15..28294cb977d 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 ======================== -- 2.30.9