commit | f781d202a2382731b43bade845a58d28a02e9ea1 | [log] [tgz] |
---|---|---|
author | Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> | Mon Apr 29 04:38:45 2019 -0400 |
committer | Victor Stinner <vstinner@redhat.com> | Mon Apr 29 10:38:45 2019 +0200 |
tree | b86f74ef510093ef69e73143361afe52e9e7ba46 | |
parent | 254b309c801f82509597e3d7d4be56885ef94c11 [diff] |
bpo-36475: Finalize PyEval_AcquireLock() and PyEval_AcquireThread() properly (GH-12667) 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().