[issue40512] [subinterpreters] Meta issue: per-interpreter GIL

STINNER Victor report at bugs.python.org
Wed Aug 18 10:36:00 EDT 2021


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

PyStructSequence_InitType2() is not compatible with subinterpreters: it uses static types. Moreover, it allocates tp_members memory which is not released when the type is destroyed. But I'm not sure that the type is ever destroyed, since this API is designed for static types.

----------

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


More information about the Python-bugs-list mailing list