[issue45691] Partial moving of core objects to interpreter state is incorrect at best, unsafe at worse.
STINNER Victor
report at bugs.python.org
Wed Nov 17 13:14:21 EST 2021
STINNER Victor <vstinner at python.org> added the comment:
> many classes are allocated statically
Right. Changing that is an hard problem :-( See for example bpo-40601 "[C API] Hide static types from the limited C API".
I tried once to "free" / reset static types in Py_Finalize(), but it's hard to implement properly :-(
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45691>
_______________________________________
More information about the Python-bugs-list
mailing list