]> 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)
commite965d97ed1adac6a9a5cf69f04770249589756c7
tree71a3cc64dc94f6f46cda51a662b95510c05e7819
parent3bbdc8e822b483fdfb66e0422e94630af10d1b80
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