[issue39947] [C API] Make the PyThreadState structure opaque (move it to the internal C API)

STINNER Victor report at bugs.python.org
Wed Apr 6 09:20:11 EDT 2022


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

I would be nice to make the PyThreadState opaque in Python 3.12. IMO it's too late for Python 3.11. Hopefully, Cython should be prepared for such change. At the beginning, maybe Cython can just use the internal C API, as it does to access the internal PyFrameObject structure.

----------
versions: +Python 3.11 -Python 3.9

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


More information about the Python-bugs-list mailing list