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

STINNER Victor report at bugs.python.org
Thu Jun 25 05:27:07 EDT 2020


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

I marked bpo-35949 "Move PyThreadState into Include/internal/pycore_pystate.h" as a duplicate of this issue.

bpo-35949 lists Py_ALLOW_RECURSION and Py_END_ALLOW_RECURSION which access PyThreadState.recursion_critical member directly.

----------

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


More information about the Python-bugs-list mailing list