]> 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:35:53 +0000 (20:35 -0700)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2022 03:35:53 +0000 (20:35 -0700)
commitece5f7e04600150712d88b928b76d0f2de5f5011
treed9273b80e3b276c68cb734dd12041646e581bf32
parent24908f1f207f4642fc57ae79c69a3dcb0770a96a
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]