diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-26 23:59:34 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-02-26 23:59:34 (GMT) |
commit | 70d2717f2e3fcf7e03b722ef2b63fbdf39bec2d2 (patch) | |
tree | 8bc02db1871066542ee75094805a54a5be6e3958 /Misc | |
parent | 6181b397c44842ba3d651f1a1ba41e3f8adb0d49 (diff) | |
parent | e965d97ed1adac6a9a5cf69f04770249589756c7 (diff) | |
download | cpython-70d2717f2e3fcf7e03b722ef2b63fbdf39bec2d2.zip cpython-70d2717f2e3fcf7e03b722ef2b63fbdf39bec2d2.tar.gz cpython-70d2717f2e3fcf7e03b722ef2b63fbdf39bec2d2.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.3 Alpha 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. + - PEP 409, Issue #6210: "raise X from None" is now supported as a means of suppressing the display of the chained exception context. The chained context still remains available as the __context__ attribute. |