Skip to content

[3.15] gh-152548: Report a subprocess of runInSubprocess() dying after the test (GH-155162) - #155167

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-ef0affb-3.15
Oct 9, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.15from
miss-islington:backport-ef0affb-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

The subprocess writes the result of the test before exiting, so a crash
during interpreter finalization left the result intact and the test was
reported as passed. Check the exit code too, after replaying the outcomes,
so that a failure of the test itself is still reported as a failure.
(cherry picked from commit ef0affb)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 5 (1M context) noreply@anthropic.com

… the test (pythonGH-155162)

The subprocess writes the result of the test before exiting, so a crash
during interpreter finalization left the result intact and the test was
reported as passed.  Check the exit code too, after replaying the outcomes,
so that a failure of the test itself is still reported as a failure.
(cherry picked from commit ef0affb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants