mirror of
https://github.com/python/cpython.git
synced 2026-06-01 17:19:45 -04:00
d73501602f
Add PyThreadState_GetUnchecked() function: similar to PyThreadState_Get(), but don't issue a fatal error if it is NULL. The caller is responsible to check if the result is NULL. Previously, this function was private and known as _PyThreadState_UncheckedGet().