]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] GH-88050: fix race in closing subprocess pipe in asyncio (GH-97951) (#97978)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 6 Oct 2022 19:09:50 +0000 (12:09 -0700)
committerGitHub <noreply@github.com>
Thu, 6 Oct 2022 19:09:50 +0000 (12:09 -0700)
commitbd3dcb3549e9c1c26495bc3cc1a45197079bdcaf
tree1c01d9c7310f17f6447981d135cfd0aaaf88767f
parent1cd19f7ebfc2df2f4052e5dba0d548c4eb9caa45
[3.11] GH-88050: fix race in closing subprocess pipe in asyncio  (GH-97951) (#97978)

Check for None when iterating over `self._pipes.values()`.
(cherry picked from commit e2e6b95c0342247ed1a761b6e149ac579a8722dd)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Lib/asyncio/base_subprocess.py