]> granicus.if.org Git - python/commit
Python issue #23173: sync with Tulip
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 14 Jan 2015 01:10:33 +0000 (02:10 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 14 Jan 2015 01:10:33 +0000 (02:10 +0100)
commitf651a604075c2dc9a2d7f3d3bd74da374ff8a696
tree1fd5b58dcc596b6d4b26b9904076f391040f4f3e
parentc2c12e433aa47149c692eef5e5debd7c475b04c7
Python issue #23173: sync with Tulip

* If an exception is raised during the creation of a subprocess, kill the
  subprocess (close pipes, kill and read the return status). Log an error in
  such case.
* Fix SubprocessStreamProtocol.connection_made() to handle cancelled waiter.
  Add unit test cancelling subprocess methods.
Lib/asyncio/base_subprocess.py
Lib/asyncio/subprocess.py
Lib/test/test_asyncio/test_subprocess.py