Skip to content

[3.7] bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704) #13170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2019

Conversation

gpshead
Copy link
Member

@gpshead gpshead commented May 7, 2019

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 [email protected] [Google LLC]

https://bugs.python.org/issue36533

)

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 <[email protected]>
@bedevere-bot bedevere-bot added sprint type-bug An unexpected behavior, bug, or error labels May 7, 2019
@gpshead gpshead self-assigned this May 7, 2019
@gpshead gpshead merged commit 3b4b28e into python:3.7 May 7, 2019
@gpshead gpshead deleted the backport-64aa6d2-3.7 branch May 7, 2019 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sprint type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants