◐ Shell
clean mode source ↗

[3.7] bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704) by gpshead · Pull Request #13170 · python/cpython

)

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.
(cherry picked from commit 64aa6d2)

Co-authored-by: Gregory P. Smith <greg@krypto.org>

@gpshead gpshead deleted the backport-64aa6d2-3.7 branch

May 7, 2019 20:29