[issue39947] Make the PyThreadState structure opaque (move it to the internal C API)
STINNER Victor
report at bugs.python.org
Fri Mar 13 08:06:52 EDT 2020
STINNER Victor <vstinner at python.org> added the comment:
> As a note, externally I have to use it in pydevd to set the tracing for different threads -- i.e.: https://bugs.python.org/issue35370 Will that still be possible?
My intent is not to prevent third-party C extension modules to modify PyThreadState, but to make the structure opaque. I mean that we should add getter and setter function for the most commonly used PyThreadState fields.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39947>
_______________________________________
More information about the Python-bugs-list
mailing list