-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
gh-104536: Improve multiprocessing.process._cleanup logic
#104537
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
Conversation
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
multiprocessing.process._cleanup logic
Misc/NEWS.d/next/Library/2023-05-16-10-07-16.gh-issue-104536.hFWD8f.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
|
|
|
Thanks @z764969689 for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
Sorry @z764969689 and @gpshead, I had trouble checking out the |
|
Thanks @z764969689 for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
|
GH-104737 is a backport of this pull request to the 3.11 branch. |
…thonGH-104537) Fix a race condition in the internal `multiprocessing.process` cleanup logic that could manifest as an unintended `AttributeError` when calling `BaseProcess.close()`. --------- (cherry picked from commit ef5d00a) Co-authored-by: Luccccifer <lukezhang764@gmail.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Gregory P. Smith <greg@krypto.org>
…H-104537) (#104737) Fix a race condition in the internal `multiprocessing.process` cleanup logic that could manifest as an unintended `AttributeError` when calling `BaseProcess.close()`. (cherry picked from commit ef5d00a) Co-authored-by: Luccccifer <lukezhang764@gmail.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Gregory P. Smith <greg@krypto.org>
Fix a race condition in the internal ``multiprocessing.process`` cleanup logic that could manifest as an unintended ``AttributeError`` during ``process.start``. Backport of '_cleanup' from Python 3.12 to older Python distributions python/cpython#104537
Fixes #104536.