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

Pablo Galindo Salgado report at bugs.python.org
Wed May 20 11:35:56 EDT 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Maybe we should revert this change and modify the "how to port to ..." section as we did in bpo-35810 to tell users that they need to manually visit the parent in classes created with PyType_FromSpec

----------

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


More information about the Python-bugs-list mailing list