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 Mark.Shannon, christian.heimes, jdemeyer, lukasz.langa, methane, 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, methane, 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