Unverified Commit fa27d2fd authored by Mattias Ellert's avatar Mattias Ellert Committed by GitHub
Browse files

Adapt to changed function name in Python 3.13 (#4902)

According to https://docs.python.org/3.13/whatsnew/3.13.html:

Add PyThreadState_GetUnchecked() function: similar to
PyThreadState_Get(), but don't kill the process with a fatal error if
it is NULL. The caller is responsible to check if the result is
NULL. Previously, the function was private and known as
_PyThreadState_UncheckedGet().
parent bf88e29c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment