[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

STINNER Victor report at bugs.python.org
Thu Aug 29 09:09:30 EDT 2019


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

I did a GitHub code search on "PyThreadState_DeleteCurrent" in C code:
https://github.com/search?l=C&q=PyThreadState_DeleteCurrent&type=Code

I looked at the first 6 pages: I only found copies of the Python source code, but no *call* to this function. It seems like this function is not used outside Python, so it's fine to remove it.

Anyway, if an user complains lately, we can add it back. It's fine.

In case of doubt, in this case, I'm fine with removing the function.

----------

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


More information about the Python-bugs-list mailing list