]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-98966: Handle stdout=subprocess.STDOUT (GH-98967)
authorPaulo Neves <ptsneves@users.noreply.github.com>
Tue, 26 Mar 2024 12:37:50 +0000 (13:37 +0100)
committerGitHub <noreply@github.com>
Tue, 26 Mar 2024 12:37:50 +0000 (13:37 +0100)
commit4abca7e1e7e2764faf20c7e677ea5c9ea9dbffe2
tree51ae7d5559a00b2e8c0f4e8d5f8434f41da5e296
parent9654daf793b534b44a831c80f43505ab9e380f1f
gh-98966: Handle stdout=subprocess.STDOUT (GH-98967)

Explicitly handle the case where stdout=STDOUT
as otherwise the existing error handling gets
confused and reports hard to understand errors.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/NEWS.d/next/Library/2024-03-26-11-48-39.gh-issue-98966.SayV9y.rst [new file with mode: 0644]