diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-13 22:25:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-13 22:25:34 (GMT) |
commit | 4c3da783cffb8471303fbae3e09f3d67b31c3d06 (patch) | |
tree | 35bf1afdbb64d210830312b6d8fc661c53c6c9cb /Misc | |
parent | 25a6833f7945f14cad83509ec73954d0ad70bdb1 (diff) | |
download | cpython-4c3da783cffb8471303fbae3e09f3d67b31c3d06.zip cpython-4c3da783cffb8471303fbae3e09f3d67b31c3d06.tar.gz cpython-4c3da783cffb8471303fbae3e09f3d67b31c3d06.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-04-07-23-26-25.bpo-40091.5M9AW5.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-04-07-23-26-25.bpo-40091.5M9AW5.rst b/Misc/NEWS.d/next/Library/2020-04-07-23-26-25.bpo-40091.5M9AW5.rst new file mode 100644 index 0000000..4a98aa5 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-04-07-23-26-25.bpo-40091.5M9AW5.rst @@ -0,0 +1,2 @@ +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. |