]> 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:45:12 +0000 (00:45 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sun, 26 Feb 2012 23:45:12 +0000 (00:45 +0100)
commit6a1cd1b3b14e204468132605008f1ac62d12151c
treedbc165fa7f3e60aa2c63cef4c8a4551d2a7f61ea
parent92904d3a4aafa0437e2d614cef607cbf11860957
Issue #13521: dict.setdefault() now does only one lookup for the given key, making it "atomic" for many purposes.
Patch by Filip GruszczyƄski.
Lib/test/test_dict.py
Misc/NEWS
Objects/dictobject.c