<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/asyncio/subprocess.py, branch v3.6.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/asyncio/subprocess.py?h=v3.6.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/asyncio/subprocess.py?h=v3.6.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2017-03-03T04:31:17Z</updated>
<entry>
<title>bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405)</title>
<updated>2017-03-03T04:31:17Z</updated>
<author>
<name>Seth M. Larson</name>
<email>SethMichaelLarson@users.noreply.github.com</email>
</author>
<published>2017-03-03T04:21:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=604faba1db724951ee440337099d111e3ecade49'/>
<id>urn:sha1:604faba1db724951ee440337099d111e3ecade49</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #26848: Fix asyncio/subprocess.communicate() to handle empty input.</title>
<updated>2016-05-13T19:35:28Z</updated>
<author>
<name>Yury Selivanov</name>
<email>yselivanov@sprymix.com</email>
</author>
<published>2016-05-13T19:35:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7657f6ba218aa59ee085f2001dc44247f2fd0d4c'/>
<id>urn:sha1:7657f6ba218aa59ee085f2001dc44247f2fd0d4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>asyncio: sync with github</title>
<updated>2015-07-25T00:40:40Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-07-25T00:40:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eaf16abc68a09e2d976c37e34eb606f5b519f7ea'/>
<id>urn:sha1:eaf16abc68a09e2d976c37e34eb606f5b519f7ea</id>
<content type='text'>
* Fix ResourceWarning warnings in test_streams
* Return True from StreamReader.eof_received() to fix
  http://bugs.python.org/issue24539 (but still needs a unittest).
  Add StreamReader.__repr__() for easy debugging.
* remove unused imports
* Issue #234: Drop JoinableQueue on Python 3.5+
</content>
</entry>
<entry>
<title>Issue #23347, asyncio: Make BaseSubprocessTransport.wait() private</title>
<updated>2015-01-29T23:16:14Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-29T23:16:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1241ecc21bbb3f86734a3071b93514a12dd1ee23'/>
<id>urn:sha1:1241ecc21bbb3f86734a3071b93514a12dd1ee23</id>
<content type='text'>
</content>
</entry>
<entry>
<title>asyncio: sync with Tulip</title>
<updated>2015-01-29T23:05:19Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-29T23:05:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=47cd10d7a903773f574fc93220dbca850067fa0c'/>
<id>urn:sha1:47cd10d7a903773f574fc93220dbca850067fa0c</id>
<content type='text'>
Issue #23347: send_signal(), kill() and terminate() methods of
BaseSubprocessTransport now check if the transport was closed and if the
process exited.

Issue #23347: Refactor creation of subprocess transports. Changes on
BaseSubprocessTransport:

* Add a wait() method to wait until the child process exit
* The constructor now accepts an optional waiter parameter. The _post_init()
  coroutine must not be called explicitly anymore. It makes subprocess
  transports closer to other transports, and it gives more freedom if we want
  later to change completly how subprocess transports are created.
* close() now kills the process instead of kindly terminate it: the child
  process may ignore SIGTERM and continue to run. Call explicitly terminate()
  and wait() if you want to kindly terminate the child process.
* close() now logs a warning in debug mode if the process is still running and
  needs to be killed
* _make_subprocess_transport() is now fully asynchronous again: if the creation
  of the transport failed, wait asynchronously for the process eixt. Before the
  wait was synchronous. This change requires close() to *kill*, and not
  terminate, the child process.
* Remove the _kill_wait() method, replaced with a more agressive close()
  method. It fixes _make_subprocess_transport() on error.
  BaseSubprocessTransport.close() calls the close() method of pipe transports,
  whereas _kill_wait() closed directly pipes of the subprocess.Popen object
  without unregistering file descriptors from the selector (which caused severe
  bugs).

These changes simplifies the code of subprocess.py.
</content>
</entry>
<entry>
<title>Issue #23242: asyncio.SubprocessStreamProtocol now closes the subprocess</title>
<updated>2015-01-15T12:16:02Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-15T12:16:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=791009bb892de2991ea9a66ba1efbdaeb21b268f'/>
<id>urn:sha1:791009bb892de2991ea9a66ba1efbdaeb21b268f</id>
<content type='text'>
transport at subprocess exit.

Clear also its reference to the transport.
</content>
</entry>
<entry>
<title>Python issue #23173: sync with Tulip</title>
<updated>2015-01-14T01:10:33Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-14T01:10:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f651a604075c2dc9a2d7f3d3bd74da374ff8a696'/>
<id>urn:sha1:f651a604075c2dc9a2d7f3d3bd74da374ff8a696</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>Issue #23140, asyncio: Fix cancellation of Process.wait(). Check the state of</title>
<updated>2015-01-06T00:13:49Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-06T00:13:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c447ba04e78a91c1febe7744b9e6cbcdd3e23360'/>
<id>urn:sha1:c447ba04e78a91c1febe7744b9e6cbcdd3e23360</id>
<content type='text'>
the waiter future before setting its result.
</content>
</entry>
<entry>
<title>Closes #22685, asyncio: Set the transport of stdout and stderr StreamReader</title>
<updated>2014-11-25T16:20:33Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-11-25T16:20:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5ef586f25a6d5128a15341e849d7dca4fe882d22'/>
<id>urn:sha1:5ef586f25a6d5128a15341e849d7dca4fe882d22</id>
<content type='text'>
objects in the SubprocessStreamProtocol. It allows to pause the transport to
not buffer too much stdout or stderr data.
</content>
</entry>
<entry>
<title>asyncio, tulip issue 190: Process.communicate() now ignores</title>
<updated>2014-07-17T11:12:03Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-07-17T11:12:03Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d55b54d5c0e6f469145f394d18e39156baa2ca79'/>
<id>urn:sha1:d55b54d5c0e6f469145f394d18e39156baa2ca79</id>
<content type='text'>
ConnectionResetError too
</content>
</entry>
</feed>
