[docs] [issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

STINNER Victor report at bugs.python.org
Mon Aug 19 06:40:00 EDT 2019

STINNER Victor <vstinner at redhat.com> added the comment:

I'm not sure why PyThreadState_DeleteCurrent() is exposed. Why would anyone use it?

It is used internally by the _thread module when the thread function completes.

I suggest to make the function internal instead of documenting it.

Eric, Joannah: what do you think?


Python tracker <report at bugs.python.org>

More information about the docs mailing list