]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-97825: fix AttributeError when calling subprocess.check_output(input=None) with...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 5 Oct 2022 03:29:40 +0000 (20:29 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2022 03:29:40 +0000 (20:29 -0700)
commit9133aabc708de881c06458b4e316489178475c3c
tree00c5d14d2048a045aa79181939743e4abe005990
parent01513758298ae8fb956ce18c01d748d2986cfef3
gh-97825: fix AttributeError when calling subprocess.check_output(input=None) with encoding or errors args (GH-97826)

* fix AttributeError, add unit test
(cherry picked from commit db64fb9bbe92b212db7dd173f787ea3607ae971a)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Lib/subprocess.py
Lib/test/test_subprocess.py
Misc/NEWS.d/next/Library/2022-10-04-07-55-19.gh-issue-97825.mNdv1l.rst [new file with mode: 0644]