mirror of
https://github.com/python/cpython.git
synced 2026-05-13 16:08:19 -04:00
f781d202a2
PyEval_AcquireLock() and PyEval_AcquireThread() now terminate the current thread if called while the interpreter is finalizing, making them consistent with PyEval_RestoreThread(), Py_END_ALLOW_THREADS, and PyGILState_Ensure().