mirror of
https://github.com/python/cpython.git
synced 2026-05-07 21:20:55 -04:00
3cdfdc07a9
In general, when `_PyThreadState_GET()` is non-NULL then the current thread is "attached", but there is a small window during `PyThreadState_DeleteCurrent()` where that's not true: tstate_delete_common() is called when the thread is detached, but before current_fast_clear(). Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Miscellaneous source files for the main Python shared library