STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue40512>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to