{{ message }}
gh-108520: Fix bad fork detection in nested multiprocessing use case#108568
Merged
pitrou merged 9 commits intopython:mainfrom Aug 30, 2023
Merged
gh-108520: Fix bad fork detection in nested multiprocessing use case#108568pitrou merged 9 commits intopython:mainfrom
pitrou merged 9 commits intopython:mainfrom
Conversation
Contributor
Author
9d43084 to
ec4e7e0
Compare
Contributor
Author
|
Rebased to check fi the windows test failure was just flaky. |
pitrou
reviewed
Aug 30, 2023
pitrou
reviewed
Aug 30, 2023
pitrou
reviewed
Aug 30, 2023
albanD
commented
Aug 30, 2023
Contributor
Author
|
All the updates are done. |
Member
|
Yes, a blurb is needed especially as it fixes a regression. |
pitrou
reviewed
Aug 30, 2023
pitrou
reviewed
Aug 30, 2023
Member
|
Ok, it took me a couple attempts to get the comments right from the GitHub UI :-) Will merge if CI is green. |
|
There's a new commit after the PR has been approved. @pitrou: please review the changes made to this pull request. |
Contributor
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Aug 30, 2023
… case (pythonGH-108568) pythongh-107275 introduced a regression where a SemLock would fail being passed along nested child processes, as the `is_fork_ctx` attribute would be left missing after the first deserialization. --------- (cherry picked from commit add8d45) Co-authored-by: albanD <desmaison.alban@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Antoine Pitrou <pitrou@free.fr>
|
GH-108691 is a backport of this pull request to the 3.12 branch. |
carljm
added a commit
to carljm/cpython
that referenced
this pull request
Aug 30, 2023
* main: pythongh-108520: Fix bad fork detection in nested multiprocessing use case (python#108568) pythongh-108590: Revert pythongh-108657 (commit 400a1ce) (python#108686) pythongh-108494: Argument Clinic: Document how to generate code that uses the limited C API (python#108584) Document Python build requirements (python#108646) pythongh-101100: Fix Sphinx warnings in the Logging Cookbook (python#108678) Fix typo in multiprocessing docs (python#108666) pythongh-108669: unittest: Fix documentation for TestResult.collectedDurations (python#108670) pythongh-108590: Fix sqlite3.iterdump for invalid Unicode in TEXT columns (python#108657) Revert "pythongh-103224: Use the realpath of the Python executable in `test_venv` (pythonGH-103243)" (pythonGH-108667) pythongh-106320: Remove private _Py_ForgetReference() (python#108664) Mention Ellipsis pickling in the docs (python#103660) Revert "Use non alternate name for Kyiv (pythonGH-108533)" (pythonGH-108649) pythongh-108278: Deprecate passing the first param of sqlite3.Connection callback APIs by keyword (python#108632) pythongh-108455: peg_generator: install two stubs packages before running mypy (python#108637) pythongh-107801: Improve the accuracy of io.IOBase.seek docs (python#108268)
|
GH-108692 is a backport of this pull request to the 3.11 branch. |
pitrou
added a commit
that referenced
this pull request
Aug 30, 2023
…e case (GH-108568) (#108692) gh-107275 introduced a regression where a SemLock would fail being passed along nested child processes, as the `is_fork_ctx` attribute would be left missing after the first deserialization. --------- (cherry picked from commit add8d45) Co-authored-by: albanD <desmaison.alban@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Yhg1s
pushed a commit
that referenced
this pull request
Aug 30, 2023
…e case (GH-108568) (#108691) gh-108520: Fix bad fork detection in nested multiprocessing use case (GH-108568) gh-107275 introduced a regression where a SemLock would fail being passed along nested child processes, as the `is_fork_ctx` attribute would be left missing after the first deserialization. --------- (cherry picked from commit add8d45) Co-authored-by: albanD <desmaison.alban@gmail.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

gh-107275 introduced a regression where a SemLock would fail being passed along nested child processes, as the
is_fork_ctxattribute would be left missing after the first deserialization.AttributeError: is_fork_ctxwithforkserverorspawnmethods #108520