This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients a-feld, deekay, tim.peters
Date 2020-04-19.02:31:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587263503.67.0.180687501389.issue40312@roundup.psfhosted.org>
In-reply-to
Content
Offhand I'm surprised because of this:  if a weakref W refers to object O, and W and O are _both_ in cyclic trash, gc does not want to invoke W's callback (if any).  In fact, it works hard not to call it.  So I'm surprised that the callback is invoked at all, not by whether it's called before or after __del__ is called.
History
Date User Action Args
2020-04-19 02:31:43tim.peterssetrecipients: + tim.peters, a-feld, deekay
2020-04-19 02:31:43tim.peterssetmessageid: <1587263503.67.0.180687501389.issue40312@roundup.psfhosted.org>
2020-04-19 02:31:43tim.peterslinkissue40312 messages
2020-04-19 02:31:43tim.peterscreate