Author nascheme
Recipients christian.heimes, nascheme, pablogsal, pitrou, vstinner
Date 2019-09-27.23:01:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569625318.58.0.115248070996.issue38009@roundup.psfhosted.org>
In-reply-to
Content
I think the problem with your logic is that the weakref to F is part of the garbage set.  So, handle_finalizers() should detect that and clear the finalizer rather than call it.  Once we get to delete_garbage() and start calling tp_clear(), we can't be running weakref callbacks or finalizers.  The GC logic goes through great pains to ensure that.
History
Date User Action Args
2019-09-27 23:01:58naschemesetrecipients: + nascheme, pitrou, vstinner, christian.heimes, pablogsal
2019-09-27 23:01:58naschemesetmessageid: <1569625318.58.0.115248070996.issue38009@roundup.psfhosted.org>
2019-09-27 23:01:58naschemelinkissue38009 messages
2019-09-27 23:01:58naschemecreate