Skip to content
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

bpo-42350: Fix Thread._reset_internal_locks() #23268

Merged
merged 1 commit into from Nov 16, 2020
Merged

bpo-42350: Fix Thread._reset_internal_locks() #23268

merged 1 commit into from Nov 16, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 13, 2020

Fix the threading.Thread class at fork: do nothing if the thread is
already stopped (ex: fork called at Python exit). Previously, an
error was logged in the child process.

https://bugs.python.org/issue42350

Fix the threading.Thread class at fork: do nothing if the thread is
already stopped (ex: fork called at Python exit). Previously, an
error was logged in the child process.
@miss-islington
Copy link
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@vstinner vstinner deleted the fix_threading_atfork branch November 16, 2020 14:20
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 16, 2020
Fix the threading.Thread class at fork: do nothing if the thread is
already stopped (ex: fork called at Python exit). Previously, an
error was logged in the child process.
(cherry picked from commit 5909a49)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link

GH-23315 is a backport of this pull request to the 3.9 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Nov 16, 2020
miss-islington added a commit that referenced this pull request Nov 16, 2020
Fix the threading.Thread class at fork: do nothing if the thread is
already stopped (ex: fork called at Python exit). Previously, an
error was logged in the child process.
(cherry picked from commit 5909a49)

Co-authored-by: Victor Stinner <vstinner@python.org>
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Fix the threading.Thread class at fork: do nothing if the thread is
already stopped (ex: fork called at Python exit). Previously, an
error was logged in the child process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants