diff options
author | Gregory P. Smith <greg@krypto.org> | 2020-12-25 04:57:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-25 04:57:21 (GMT) |
commit | 64abf373444944a240274a9b6d66d1cb01ecfcdd (patch) | |
tree | 7cc3f785fec2389d6dd9b7bd05860e45ee3f459c /Mac/BuildScript | |
parent | 8badadec53cbf9dc049c5b54198c5689481e3f3f (diff) | |
download | cpython-64abf373444944a240274a9b6d66d1cb01ecfcdd.zip cpython-64abf373444944a240274a9b6d66d1cb01ecfcdd.tar.gz cpython-64abf373444944a240274a9b6d66d1cb01ecfcdd.tar.bz2 |
bpo-42388: Fix subprocess.check_output input=None when text=True (GH-23467)
When the modern text= spelling of the universal_newlines= parameter was added
for Python 3.7, check_output's special case around input=None was overlooked.
So it behaved differently with universal_newlines=True vs text=True. This
reconciles the behavior to be consistent and adds a test to guarantee it.
Also clarifies the existing check_output documentation.
Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
Diffstat (limited to 'Mac/BuildScript')
0 files changed, 0 insertions, 0 deletions