]> granicus.if.org Git - python/commit
bpo-35721: Close socket pair if Popen in _UnixSubprocessTransport fails (GH-11553)
authorNiklas Fiekas <niklas.fiekas@backscattering.de>
Mon, 20 May 2019 12:02:17 +0000 (14:02 +0200)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 May 2019 12:02:16 +0000 (05:02 -0700)
commit9932fd91e878b740704ff599522e945a4bbe2ae1
tree2aa24d867fc52f03e9312cd8617a12263f84c150
parent6d1c46746e17367caf8a24623cb5c9a9c4e3e036
bpo-35721: Close socket pair if Popen in _UnixSubprocessTransport fails (GH-11553)

This slightly expands an existing test case `test_popen_error` to trigger a `ResourceWarning` and fixes it.

https://bugs.python.org/issue35721
Lib/asyncio/unix_events.py
Lib/test/test_asyncio/test_subprocess.py
Misc/ACKS
Misc/NEWS.d/next/Library/2019-01-18-16-23-00.bpo-35721.d8djAJ.rst [new file with mode: 0644]