summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-26 23:45:12 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-26 23:45:12 (GMT)
commite965d97ed1adac6a9a5cf69f04770249589756c7 (patch)
tree71a3cc64dc94f6f46cda51a662b95510c05e7819 /Misc
parent3bbdc8e822b483fdfb66e0422e94630af10d1b80 (diff)
downloadcpython-e965d97ed1adac6a9a5cf69f04770249589756c7.zip
cpython-e965d97ed1adac6a9a5cf69f04770249589756c7.tar.gz
cpython-e965d97ed1adac6a9a5cf69f04770249589756c7.tar.bz2
Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
Patch by Filip GruszczyƄski.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 0375ff3..b69eb4b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.2.3 release candidate 1?
Core and Builtins
-----------------
+- Issue #13521: dict.setdefault() now does only one lookup for the given key,
+ making it "atomic" for many purposes. Patch by Filip GruszczyƄski.
+
- Issue #13703: oCERT-2011-003: add -R command-line option and PYTHONHASHSEED
environment variable, to provide an opt-in way to protect against denial of
service attacks due to hash collisions within the dict and set types. Patch