• Victor Stinner's avatar
    Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module · 915bcb01
    Victor Stinner yazdı
    * 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)
    915bcb01
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
base_events.py Loading commit data...
base_subprocess.py Loading commit data...
constants.py Loading commit data...
events.py Loading commit data...
futures.py Loading commit data...
locks.py Loading commit data...
log.py Loading commit data...
proactor_events.py Loading commit data...
protocols.py Loading commit data...
queues.py Loading commit data...
selector_events.py Loading commit data...
streams.py Loading commit data...
subprocess.py Loading commit data...
tasks.py Loading commit data...
test_utils.py Loading commit data...
transports.py Loading commit data...
unix_events.py Loading commit data...
windows_events.py Loading commit data...
windows_utils.py Loading commit data...