gh-108867: Add PyThreadState_GetUnchecked() function (#108870)
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().
V
Victor Stinner committed
d73501602f863a54c872ce103cd3fa119e38bac9
Parent: 6ab6040
Committed by GitHub <noreply@github.com>
on 10/3/2023, 4:53:51 PM