[issue40217] The garbage collector doesn't take in account that objects of heap allocated types hold a strong reference to their type

STINNER Victor report at bugs.python.org
Thu Apr 23 10:54:00 EDT 2020


STINNER Victor <vstinner at python.org> added the comment:

I'm not comfortable with requesting authors of all C extensions to modify their tp_traverse function. As Pablo explained, the type is already visited on subtypes instances. I approved PR 19414.

----------

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


More information about the Python-bugs-list mailing list