Skip to content

[3.14] gh-153970: Fix str() of CalledProcessError when returncode is not an integer (GH-153971) - #155924

Merged
corona10 merged 1 commit into
python:3.14from
americano212:backport-153970-3.14
Aug 17, 2026
Merged

[3.14] gh-153970: Fix str() of CalledProcessError when returncode is not an integer (GH-153971)#155924
corona10 merged 1 commit into
python:3.14from
americano212:backport-153970-3.14

Conversation

@americano212

@americano212 americano212 commented Aug 17, 2026

Copy link
Copy Markdown

(cherry picked from commit 7c653e2)

Co-authored-by: Vyron Vasileiadis hi@fedonman.com

…de is not an integer (pythonGH-153971)

CalledProcessError.__str__() fell through to a branch that formats the
return code with %d, which raises TypeError when returncode is None.
(cherry picked from commit 7c653e2)

Co-authored-by: Vyron Vasileiadis <hi@fedonman.com>
@americano212

Copy link
Copy Markdown
Author

@corona10

@github-project-automation github-project-automation Bot moved this from Todo to In Progress in Sprint Aug 17, 2026
@corona10
corona10 merged commit bc39729 into python:3.14 Aug 17, 2026
57 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Sprint Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants