[issue40255] Fixing Copy on Writes from reference counting

Carl Meyer report at bugs.python.org
Tue Apr 14 13:12:21 EDT 2020


Carl Meyer <carl at oddbird.net> added the comment:

> An immortalized object will never start participating in reference counting again after it is immortalized.

Well, "passed to an extension compiled with no-immortal headers" is an exception to this.

But for the "not GC tracked but later becomes GC tracked" case, it will not re-enter reference counting, only the GC.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40255>
_______________________________________


More information about the Python-bugs-list mailing list