[issue43423] Subprocess IndexError possible in _communicate

2021-03-06 Thread Chris Griffith
Change by Chris Griffith : -- keywords: +patch pull_requests: +23542 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24777 ___ Python tracker <https://bugs.python.org/issu

[issue43423] Subprocess IndexError possible in _communicate

2021-03-06 Thread Chris Griffith
New submission from Chris Griffith : It is possible to run into an IndexError in the subprocess module's _communicate function. ``` return run( File "subprocess.py", line 491, in run File "subprocess.py", line 1024, in communicate File "subprocess.py&quo