<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/trollius.git/asyncio/base_subprocess.py, branch remove-joinable-queue</title>
<subtitle>bitbucket.org: Obsolete (use python-packages/trollius-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/'/>
<entry>
<title>Fix BaseSubprocessTransport.close()</title>
<updated>2015-01-14T21:46:58+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-14T21:46:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=e5e9e827e8b4f0b11276bec3048e86d8b31d1836'/>
<id>e5e9e827e8b4f0b11276bec3048e86d8b31d1836</id>
<content type='text'>
Ignore pipes for which the protocol is not set yet (still equal to None).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ignore pipes for which the protocol is not set yet (still equal to None).
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix BaseSubprocessTransport._kill_wait()</title>
<updated>2015-01-14T21:45:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-14T21:45:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=7d176bab4355e6bc3a92b223505e0bed04cfaa49'/>
<id>7d176bab4355e6bc3a92b223505e0bed04cfaa49</id>
<content type='text'>
Set the _returncode attribute, so close() doesn't try to terminate the process.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Set the _returncode attribute, so close() doesn't try to terminate the process.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python issue #23173: If an exception is raised during the creation of a</title>
<updated>2015-01-14T01:06:07+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-14T01:06:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=14ddd5ec299dcd41ec5d856ec919515bc6a9d08d'/>
<id>14ddd5ec299dcd41ec5d856ec919515bc6a9d08d</id>
<content type='text'>
subprocess, kill the subprocess (close pipes, kill and read the return status).
Log an error in such case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
subprocess, kill the subprocess (close pipes, kill and read the return status).
Log an error in such case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python issue #23209: Break some reference cycles in asyncio. Patch written by</title>
<updated>2015-01-09T20:29:29+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2015-01-09T20:29:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=043d683f0ffd9c625444d4dd18deaeacb4f88328'/>
<id>043d683f0ffd9c625444d4dd18deaeacb4f88328</id>
<content type='text'>
Martin Richard.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Martin Richard.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a race condition in BaseSubprocessTransport._try_finish()</title>
<updated>2014-12-18T22:41:46+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-12-18T22:41:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=942933b03eb61f8965306dd9c66486ee0933c45d'/>
<id>942933b03eb61f8965306dd9c66486ee0933c45d</id>
<content type='text'>
If the process exited before the _post_init() method was called, scheduling the
call to _call_connection_lost() with call_soon() is wrong: connection_made()
must be called before connection_lost().

Reuse the BaseSubprocessTransport._call() method to schedule the call to
_call_connection_lost() to ensure that connection_made() and connection_lost()
are called in the correct order.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the process exited before the _post_init() method was called, scheduling the
call to _call_connection_lost() with call_soon() is wrong: connection_made()
must be called before connection_lost().

Reuse the BaseSubprocessTransport._call() method to schedule the call to
_call_connection_lost() to ensure that connection_made() and connection_lost()
are called in the correct order.
</pre>
</div>
</content>
</entry>
<entry>
<title>Tulip issue #184: Log subprocess events in debug mode</title>
<updated>2014-07-14T15:23:28+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-07-14T15:23:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=ec40ec51421f86d4c94b7d835e0f24e07ae34535'/>
<id>ec40ec51421f86d4c94b7d835e0f24e07ae34535</id>
<content type='text'>
- Log stdin, stdout and stderr transports and protocols
- Log process identifier (pid)
- Log connection of pipes
- Log process exit
- Log Process.communicate() tasks: feed stdin, read stdout and stderr
- Add __repr__() method to many classes related to subprocesses
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Log stdin, stdout and stderr transports and protocols
- Log process identifier (pid)
- Log connection of pipes
- Log process exit
- Log Process.communicate() tasks: feed stdin, read stdout and stderr
- Add __repr__() method to many classes related to subprocesses
</pre>
</div>
</content>
</entry>
<entry>
<title>Add BaseSubprocessTransport._pid attribute</title>
<updated>2014-07-14T15:02:34+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-07-14T15:02:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=b4b8ad09c688332a58e0fc1be5464d1607bb5cc5'/>
<id>b4b8ad09c688332a58e0fc1be5464d1607bb5cc5</id>
<content type='text'>
Store the pid so it is still accessible after the process exited. It's more
convinient for debug.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Store the pid so it is still accessible after the process exited. It's more
convinient for debug.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move coroutine code in the new module asyncio.coroutines</title>
<updated>2014-06-28T22:12:21+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-06-28T22:12:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=578a628a0e62fadf79bff1c61308a5e263cf286c'/>
<id>578a628a0e62fadf79bff1c61308a5e263cf286c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge (manually) the subprocess_stream into default</title>
<updated>2014-02-01T21:46:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-02-01T21:46:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=ea6b4e215be5da305bde53aa84fd11148ec3d1b0'/>
<id>ea6b4e215be5da305bde53aa84fd11148ec3d1b0</id>
<content type='text'>
* Add a new asyncio.subprocess module
* Add new create_subprocess_exec() and create_subprocess_shell() functions
* The new asyncio.subprocess.SubprocessStreamProtocol creates stream readers
  for stdout and stderr and a stream writer for stdin.
* The new asyncio.subprocess.Process class offers an API close to the
  subprocess.Popen class:

  - pid, returncode, stdin, stdout and stderr attributes
  - communicate(), wait(), send_signal(), terminate() and kill() methods

* Remove STDIN (0), STDOUT (1) and STDERR (2) constants from base_subprocess
  and unix_events, to not be confused with the symbols with the same name of
  subprocess and asyncio.subprocess modules
* _ProactorBasePipeTransport.get_write_buffer_size() now counts also the size
  of the pending write
* _ProactorBaseWritePipeTransport._loop_writing() may now pause the protocol if
  the write buffer size is greater than the high water mark (64 KB by default)
* Add new subprocess examples: shell.py, subprocess_shell.py,
* subprocess_attach_read_pipe.py and subprocess_attach_write_pipe.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add a new asyncio.subprocess module
* Add new create_subprocess_exec() and create_subprocess_shell() functions
* The new asyncio.subprocess.SubprocessStreamProtocol creates stream readers
  for stdout and stderr and a stream writer for stdin.
* The new asyncio.subprocess.Process class offers an API close to the
  subprocess.Popen class:

  - pid, returncode, stdin, stdout and stderr attributes
  - communicate(), wait(), send_signal(), terminate() and kill() methods

* Remove STDIN (0), STDOUT (1) and STDERR (2) constants from base_subprocess
  and unix_events, to not be confused with the symbols with the same name of
  subprocess and asyncio.subprocess modules
* _ProactorBasePipeTransport.get_write_buffer_size() now counts also the size
  of the pending write
* _ProactorBaseWritePipeTransport._loop_writing() may now pause the protocol if
  the write buffer size is greater than the high water mark (64 KB by default)
* Add new subprocess examples: shell.py, subprocess_shell.py,
* subprocess_attach_read_pipe.py and subprocess_attach_write_pipe.py
</pre>
</div>
</content>
</entry>
<entry>
<title>pass through pause/resume from subprocess pipe proto to subprocess proto.</title>
<updated>2014-01-28T16:34:19+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2014-01-28T16:34:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/trollius.git/commit/?id=7f03f5ec5becacdf87eb29d43ab54184425f0aa9'/>
<id>7f03f5ec5becacdf87eb29d43ab54184425f0aa9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
