]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-97825: fix AttributeError when calling subprocess.check_output(input=None) with...
authorandrei kulakov <andrei.avk@gmail.com>
Wed, 5 Oct 2022 00:47:49 +0000 (20:47 -0400)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2022 00:47:49 +0000 (17:47 -0700)
commitdb64fb9bbe92b212db7dd173f787ea3607ae971a
tree792388cef007d2b5d95435f9d1afc3f2592009fc
parent0ceafa7fa408b64377ea31dd5386152da19ef38a
gh-97825: fix AttributeError when calling subprocess.check_output(input=None) with encoding or errors args (#97826)

* fix AttributeError, add unit test
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]