]> 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)
commitd38c990bb73f47a6293e5f783131b709e7ef0982
tree5dab3e90b67c7aa1e5b8a8ba3e10338bd7dfe188
parentbd5279ea247e46d4bf88d1b1b306060e479e227f
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