]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43423 Fix IndexError in subprocess _communicate function (GH-24777)
authorChris Griffith <chris@cdgriffith.com>
Thu, 11 Mar 2021 19:43:29 +0000 (13:43 -0600)
committerGitHub <noreply@github.com>
Thu, 11 Mar 2021 19:43:29 +0000 (11:43 -0800)
commitb4fc44bb2d209182390b4f9fdf074a46b0165a2f
tree91fce7c1d25326301e9433f8f15d9dadf97b1b72
parent87f649a409da9d99682e78a55a83fc43225a8729
bpo-43423 Fix IndexError in subprocess _communicate function (GH-24777)

Check to make sure stdout and stderr are not empty before selecting an item from them in Windows subprocess._communicate.

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/subprocess.py
Misc/NEWS.d/next/Library/2021-03-11-15-44-18.bpo-43423.rRomRD.rst [new file with mode: 0644]