Message366088
> 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. |
|
Date |
User |
Action |
Args |
2020-04-09 21:06:35 | pablogsal | set | recipients:
+ pablogsal, pitrou, vstinner, Eric Cousineau |
2020-04-09 21:06:35 | pablogsal | set | messageid: <1586466395.26.0.333274670924.issue40240@roundup.psfhosted.org> |
2020-04-09 21:06:35 | pablogsal | link | issue40240 messages |
2020-04-09 21:06:35 | pablogsal | create | |
|