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 <>
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.
Date User Action Args
2019-09-27 23:01:58naschemesetrecipients: + nascheme, pitrou, vstinner, christian.heimes, pablogsal
2019-09-27 23:01:58naschemesetmessageid: <>
2019-09-27 23:01:58naschemelinkissue38009 messages
2019-09-27 23:01:58naschemecreate