]> granicus.if.org Git - python/commit
Issue #16602: When a weakref's target was part of a long deallocation chain, the...
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 8 Dec 2012 20:15:26 +0000 (21:15 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 8 Dec 2012 20:15:26 +0000 (21:15 +0100)
commit62a0d6ea402d18f528629c6e84ed6f46e7c0912a
tree72f36fc075688276626f59fb7138baf52d4077ed
parent09974b4e9e8da3c9ba0469f4812e68cf9f700ffd
Issue #16602: When a weakref's target was part of a long deallocation chain, the object could remain reachable through its weakref even though its refcount had dropped to zero.

Thanks to Eugene Toder for diagnosing and reporting the issue.
Include/weakrefobject.h
Lib/test/test_weakref.py
Misc/ACKS
Misc/NEWS
Objects/weakrefobject.c