mirror of
https://github.com/python/cpython.git
synced 2026-06-04 10:38:27 -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().