summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-02-26 23:59:34 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-02-26 23:59:34 (GMT)
commit70d2717f2e3fcf7e03b722ef2b63fbdf39bec2d2 (patch)
tree8bc02db1871066542ee75094805a54a5be6e3958 /Misc
parent6181b397c44842ba3d651f1a1ba41e3f8adb0d49 (diff)
parente965d97ed1adac6a9a5cf69f04770249589756c7 (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index be6f700..5fdd7b2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.