]> granicus.if.org Git - python/commit
Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary...
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 19 Dec 2016 09:56:40 +0000 (10:56 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 19 Dec 2016 09:56:40 +0000 (10:56 +0100)
commitc1ee488962f0a20c2814b14a4c29d6082dd38add
tree08884079e3c2da9de5e337ae9d78b6410fa683ef
parentca3263c50c3b3a3719d2ec3ee7b30b8c669dcb19
Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
when a GC collection happens in another thread.

Original patch and report by Armin Rigo.
Lib/test/test_weakref.py
Lib/weakref.py
Misc/NEWS