]> granicus.if.org Git - python/commit
bpo-36475: Finalize PyEval_AcquireLock() and PyEval_AcquireThread() properly (GH...
authorJoannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
Mon, 29 Apr 2019 08:38:45 +0000 (04:38 -0400)
committerVictor Stinner <vstinner@redhat.com>
Mon, 29 Apr 2019 08:38:45 +0000 (10:38 +0200)
commitf781d202a2382731b43bade845a58d28a02e9ea1
treeb86f74ef510093ef69e73143361afe52e9e7ba46
parent254b309c801f82509597e3d7d4be56885ef94c11
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().
Doc/c-api/init.rst
Doc/whatsnew/3.8.rst
Misc/NEWS.d/next/Core and Builtins/2019-04-02-20-02-22.bpo-36475.CjRps3.rst [new file with mode: 0644]
Python/ceval.c