cpython/Lib/asyncio
Victor Stinner 915bcb0111 Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module
* 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)
2014-02-01 22:49:59 +01:00
..
__init__.py Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module 2014-02-01 22:49:59 +01:00
base_events.py Issue #20452: Remove debug code, no more needed 2014-01-31 12:59:43 +01:00
base_subprocess.py Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module 2014-02-01 22:49:59 +01:00
constants.py asyncio: Pause accepting whenever accept() returns certain errors. Fixes asyncio issue #78. 2013-11-01 14:12:50 -07:00
events.py Fix typo in asyncio.AbstractServer documentation 2013-12-03 18:23:52 +01:00
futures.py asyncio: Future.set_exception(exc) should instantiate exc if it is a class. 2014-01-30 16:01:54 -08:00
locks.py asyncio: Locks refactor: use a separate context manager; remove Semaphore._locked. 2014-01-25 16:51:57 -08:00
log.py Rename the logger to plain "logger". 2013-10-17 15:39:45 -07:00
proactor_events.py Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module 2014-02-01 22:49:59 +01:00
protocols.py asyncio: Export all abstract protocol and transport classes. Fixes issue #20029. 2013-12-20 14:16:21 -08:00
queues.py asyncio: remove temporary aliases 2014-01-28 00:09:24 +01:00
selector_events.py asyncio: Refactoring: move write flow control to a subclass/mixin. 2014-01-29 13:15:59 -08:00
streams.py asyncio: Fix misc whitespace issues. 2014-01-30 16:05:28 -08:00
subprocess.py Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module 2014-02-01 22:49:59 +01:00
tasks.py asyncio: wait_for() now accepts None as timeout (Victor Stinner). 2014-01-29 14:30:38 -08:00
test_utils.py asyncio: Fix granularity of test_utils.TestLoop. 2014-01-30 16:05:07 -08:00
transports.py asyncio: make PY34 symbol private (rename it to _PY34) 2014-01-02 18:41:34 +01:00
unix_events.py Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module 2014-02-01 22:49:59 +01:00
windows_events.py Issue #20455: Add a resolution attribute to IocpProactor (1 ms) 2014-01-31 16:26:38 +01:00
windows_utils.py asyncio: Various style nits. 2013-11-01 14:20:55 -07:00