diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-26 23:45:12 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-26 23:45:12 (GMT) |
commit | e965d97ed1adac6a9a5cf69f04770249589756c7 (patch) | |
tree | 71a3cc64dc94f6f46cda51a662b95510c05e7819 /Misc | |
parent | 3bbdc8e822b483fdfb66e0422e94630af10d1b80 (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |