Skip to content

[3.14] gh-160295: Fix race in test_forkserver_sigkill (GH-160296) - #160509

Open
miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-40c8edd-3.14
Open

miss-islington wants to merge 1 commit into
python:3.14from
miss-islington:backport-40c8edd-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

After a SIGKILL, the forkserver can no longer report the first child's
exit status, so proc.join() returns with exit code 255 while the child
may still be running. Wait for the event instead of checking it right
after join().
(cherry picked from commit 40c8edd)

Co-authored-by: Davi de Jesus [email protected]

After a SIGKILL, the forkserver can no longer report the first child's
exit status, so proc.join() returns with exit code 255 while the child
may still be running. Wait for the event instead of checking it right
after join().
(cherry picked from commit 40c8edd)

Co-authored-by: Davi de Jesus <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants