On Wed, Dec 15, 2021 at 2:50 AM Pablo Galindo Salgado <pablog...@gmail.com> 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 -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/ASIWOGWC5CKB3TNIFYS6767HEES5ATSP/ Code of Conduct: http://python.org/psf/codeofconduct/