Message366408
There hasn't been much said about which kind of objects would be immortal. Could this be a creation-time option? Or a type object (similar to a no-op tp_dealloc)?
If it's something that is known when the object is created, then some of the "infection" concern can be reduced - but if you wanted to arbitrarily make arbitrary objects immortal dynamically then it's a different matter.
Another benefit of knowing at creation time is that immortal objects could be allocated to a different page (or potentially even to read-only shared memory, if that was appropriate). |
|
Date |
User |
Action |
Args |
2020-04-14 17:50:14 | steve.dower | set | recipients:
+ steve.dower, tim.peters, nascheme, gregory.p.smith, pitrou, vstinner, carljm, corona10, pablogsal, eelizondo, shihai1991 |
2020-04-14 17:50:14 | steve.dower | set | messageid: <1586886614.82.0.189451697305.issue40255@roundup.psfhosted.org> |
2020-04-14 17:50:14 | steve.dower | link | issue40255 messages |
2020-04-14 17:50:14 | steve.dower | create | |
|