Skip to content

[3.11] gh-108520: Fix bad fork detection in nested multiprocessing use case (GH-108568) - #108692

Merged
pitrou merged 1 commit into
python:3.11from
miss-islington:backport-add8d45-3.11
Aug 30, 2023
Merged

pitrou merged 1 commit into
python:3.11from
miss-islington:backport-add8d45-3.11

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 30, 2023 •

Copy link
Copy Markdown
Contributor

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

… 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants