[issue40077] Convert static types to heap types: use PyType_FromSpec()

STINNER Victor report at bugs.python.org
Thu Jan 27 12:48:51 EST 2022


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

> And I found 135 more static types with this command

Of these 135 static types, most are cleared since bpo-46417 was implemented:

* 103 types are cleared by _PyTypes_FiniTypes()
* 15 types are cleared by _PyIO_Fini()
* the remaining 17 types are not cleared at Python exit: types of _ctypes, _curses and _multiprocessing extensions

----------

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


More information about the Python-bugs-list mailing list