]> granicus.if.org Git - python/commit
Issue #13521: dict.setdefault() now does only one lookup for the given key, making...
authorAntoine Pitrou <solipsis@pitrou.net>
Sun, 26 Feb 2012 23:59:34 +0000 (00:59 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 26 Feb 2012 23:59:34 +0000 (00:59 +0100)
commit70d2717f2e3fcf7e03b722ef2b63fbdf39bec2d2
tree8bc02db1871066542ee75094805a54a5be6e3958
parent6181b397c44842ba3d651f1a1ba41e3f8adb0d49
parente965d97ed1adac6a9a5cf69f04770249589756c7
Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
Patch by Filip GruszczyƄski.
Misc/NEWS
Objects/dictobject.c