[issue36876] [subinterpreters] Global C variables are a problem

STINNER Victor report at bugs.python.org
Thu May 14 21:37:33 EDT 2020


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

More and more C extensions are converted to multiphase initialization API (PEP 489) and their global variables are moved into a new module state.

bpo-39465 will make _Py_IDENTIFIER compatible with subinterpreters.

See also bpo-40521 for caches like free lists and Unicode interned strings.

----------

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


More information about the Python-bugs-list mailing list