Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
gpshead merged 1 commit into
python:3.7python/cpython:3.7from
gpshead:backport-64aa6d2-3.7gpshead/cpython:backport-64aa6d2-3.7Copy head branch name to clipboard
May 7, 2019
Merged

[3.7] bpo-36533: Reinit logging.Handler locks on fork(). (GH-12704)#13170
gpshead merged 1 commit into
python:3.7python/cpython:3.7from
gpshead:backport-64aa6d2-3.7gpshead/cpython:backport-64aa6d2-3.7Copy head branch name to clipboard

Conversation

@gpshead

@gpshead gpshead commented May 7, 2019

Copy link
Copy Markdown
Member

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 [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 <greg@krypto.org>
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.