gh-117929: Restore removed PyEval_InitThreads() function (#117931)

This commit is contained in:
Victor Stinner 2024-04-17 15:01:28 +02:00 committed by GitHub
parent 6d0bb43232
commit 75eed5b373
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 38 additions and 7 deletions

View file

@ -512,8 +512,7 @@ _PyEval_FiniGIL(PyInterpreterState *interp)
interp->ceval.gil = NULL;
}
// Function removed in the Python 3.13 API but kept in the stable ABI.
PyAPI_FUNC(void)
void
PyEval_InitThreads(void)
{
/* Do nothing: kept for backward compatibility */