]> granicus.if.org Git - python/commit
bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704)
authorGregory P. Smith <greg@krypto.org>
Tue, 7 May 2019 16:18:20 +0000 (12:18 -0400)
committerGitHub <noreply@github.com>
Tue, 7 May 2019 16:18:20 +0000 (12:18 -0400)
commit64aa6d2000665efb1a2eccae176df9520bf5f5e6
treeb4c0efc6ae8ccc4d1da0c0d701f75f73e2d879c0
parente85ef7a7eacdef2f43e6bf2e67f335100e7ef2da
bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704)

Instead of attempting to acquire and release them all across fork
which was leading to deadlocks in some applications that had chained
their own handlers while holding multiple locks.
Lib/logging/__init__.py
Lib/test/test_logging.py
Misc/NEWS.d/next/Library/2019-04-06-00-55-09.bpo-36533.kzMyRH.rst [new file with mode: 0644]