]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40091: Fix a hang at fork in the logging module (GH-19416)
authorVictor Stinner <vstinner@python.org>
Mon, 13 Apr 2020 22:25:34 +0000 (00:25 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2020 22:25:34 +0000 (00:25 +0200)
commit4c3da783cffb8471303fbae3e09f3d67b31c3d06
tree35bf1afdbb64d210830312b6d8fc661c53c6c9cb
parent25a6833f7945f14cad83509ec73954d0ad70bdb1
bpo-40091: Fix a hang at fork in the logging module (GH-19416)

Fix a hang at fork in the logging module: the new private
_at_fork_reinit() method is now used to reinitialize locks at fork in
the child process.

The createLock() method is no longer used at fork.
Lib/logging/__init__.py
Misc/NEWS.d/next/Library/2020-04-07-23-26-25.bpo-40091.5M9AW5.rst [new file with mode: 0644]