On Wed, Dec 15, 2021 at 2:50 AM Pablo Galindo Salgado <[email protected]> wrote: > One thing to consider: ideally, inmortal objects should not participate in > the GC. There is nothing inheritly wrong if they do but we would need to > update the GC (and therefore add more branching in possible hot paths) to > deal with these as the algorithm requires the refcount to be exact to > correctly compute the cycles.
That's a good point. Do static types and the global singletons already opt out of GC participation? -eric _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/ASIWOGWC5CKB3TNIFYS6767HEES5ATSP/ Code of Conduct: http://python.org/psf/codeofconduct/
