Skip to content

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

Open
americano212 wants to merge 1 commit into
python:3.13from
americano212:backport-153970-3.13
Open

[3.13] gh-153970: Fix str() of CalledProcessError when returncode is not an integer (GH-153971)#155931
americano212 wants to merge 1 commit into
python:3.13from
americano212:backport-153970-3.13

Conversation

@americano212

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

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