Author pablogsal
Recipients Eric Cousineau, pablogsal, pitrou, vstinner
Date 2020-04-09.21:06:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586466395.26.0.333274670924.issue40240@roundup.psfhosted.org>
In-reply-to
Content
> Actually, I would like the opposite, to mark it unfinalized to resurrect the object more than once.

That is out of contract and goes against the guarantees on the GC and can (will) cause the finalizer of the object to be executed more than once. I don't think is a good idea to expose an API that allows breaking the guarantees that we give: every object is finalized once.

Also, taking into account that someone could mark externally objects as not finalized can make things more complicated for us to maintain in the collector.
History
Date User Action Args
2020-04-09 21:06:35pablogsalsetrecipients: + pablogsal, pitrou, vstinner, Eric Cousineau
2020-04-09 21:06:35pablogsalsetmessageid: <1586466395.26.0.333274670924.issue40240@roundup.psfhosted.org>
2020-04-09 21:06:35pablogsallinkissue40240 messages
2020-04-09 21:06:35pablogsalcreate