Author tim.peters
Recipients Mark.Shannon, christian.heimes, inada.naoki, jdemeyer, lukasz.langa, miss-islington, nascheme, pablogsal, petr.viktorin, pitrou, tim.peters, vstinner
Date 2019-09-30.16:42:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569861758.54.0.735785096321.issue38006@roundup.psfhosted.org>
In-reply-to
Content
Neil, how about this alternative:  leave the weakref implementation alone.  If we find a trash weakref, simply clear it instead.  That would prevent callbacks too, & would also prevent the weakref from being used to retrieve its possibly-trash-too referent.
History
Date User Action Args
2019-09-30 16:42:38tim.peterssetrecipients: + tim.peters, nascheme, pitrou, vstinner, christian.heimes, petr.viktorin, inada.naoki, lukasz.langa, Mark.Shannon, jdemeyer, pablogsal, miss-islington
2019-09-30 16:42:38tim.peterssetmessageid: <1569861758.54.0.735785096321.issue38006@roundup.psfhosted.org>
2019-09-30 16:42:38tim.peterslinkissue38006 messages
2019-09-30 16:42:38tim.peterscreate