]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39511: Fix multiprocessing semlock_acquire() (GH-18298)
authorVictor Stinner <vstinner@python.org>
Sat, 1 Feb 2020 00:25:59 +0000 (01:25 +0100)
committerGitHub <noreply@github.com>
Sat, 1 Feb 2020 00:25:59 +0000 (01:25 +0100)
commit7dc140126e918cc7c6e65aea321b7255f0020798
treeaa97e02155e19af3b06f4d6b101c4002f37a7497
parentf03a8f8d5001963ad5b5b28dbd95497e9cc15596
bpo-39511: Fix multiprocessing semlock_acquire() (GH-18298)

The Python C API must not be used when the GIL is released: only
access Py_None when the GIL is hold.
Modules/_multiprocessing/semaphore.c