| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | The subprocess_stream branch has been merged manually into default, close ↵subprocess_stream | Victor Stinner | 2014-02-01 | 0 | -0/+0 |
| | | | | | the branch | ||||
| * | Add examples showing how to attach a read or write pipe to a subprocess | Victor Stinner | 2014-02-01 | 2 | -0/+66 |
| | | |||||
| * | Fix _ProactorBasePipeTransport._force_close(): set pending write to 0 | Victor Stinner | 2014-02-01 | 1 | -3/+3 |
| | | |||||
| * | Remove STDIN, STDOUT and STDERR from base_subprocess and unix_events | Victor Stinner | 2014-02-01 | 2 | -20/+10 |
| | | |||||
| * | Restore __all__ of asyncio.subprocess | Victor Stinner | 2014-02-01 | 2 | -4/+3 |
| | | |||||
| * | Fix typo in __all__ of subprocess.py | Victor Stinner | 2014-02-01 | 1 | -1/+1 |
| | | |||||
| * | asyncio.subprocess: export also PIPE, STDOUT and DEVNULL symbols | Victor Stinner | 2014-02-01 | 2 | -3/+4 |
| | | |||||
| * | Remove now useless functools.partial() | Victor Stinner | 2014-02-01 | 1 | -3/+1 |
| | | |||||
| * | Simplify _ProactorBaseWritePipeTransport | Victor Stinner | 2014-02-01 | 1 | -7/+5 |
| | | | | | A pipe transport can only has one overlapped write at once. | ||||
| * | _ProactorBasePipeTransport.get_write_buffer_size() now includes pending writes | Victor Stinner | 2014-02-01 | 1 | -14/+22 |
| | | |||||
| * | indent correctly | Victor Stinner | 2014-02-01 | 1 | -1/+1 |
| | | |||||
| * | Fix the fix for _ProactorBaseWritePipeTransport | Victor Stinner | 2014-02-01 | 1 | -2/+0 |
| | | | | | | | add_done_callback() already called _loop_writing() which had resumed the protocol if it was needed. In fact, the only required action is to pause to protocol if the write is pending. | ||||
| * | Fix _loop_writing() of _ProactorBaseWritePipeTransport | Victor Stinner | 2014-02-01 | 1 | -3/+7 |
| | | | | | If the write completes immediatly, resume the protocol instead of pause it. | ||||
| * | Merge with default | Victor Stinner | 2014-01-31 | 7 | -10/+545 |
| |\ | |||||
| | * | Merge default -> subprocess_stream: whitespace cleanup, ↵ | Guido van Rossum | 2014-01-30 | 7 | -11/+565 |
| | |\ | | | | | | | | | | set_exception(<class>) fix, setup.cfg. | ||||
| | | * | Leave overlapped.c unchanged, revert previous change in Overlapped.getresult() | Victor Stinner | 2014-01-30 | 2 | -10/+8 |
| | | | | |||||
| | | * | Overlapped.getresult() now raises BrokenPipeError, even on ReadFile() | Victor Stinner | 2014-01-30 | 3 | -11/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The BrokenPipeError is now handled in _ProactorReadPipeTransport._loop_reading(): the future now raises a BrokenPipeError instead of returning an empty bytes string * Create a new subclass of _ProactorWritePipeTransport which waits on the read-end of the pipe to be notified when the pipe is close. BaseProactorEventLoop._make_write_pipe_transport() uses this new class instead of using _ProactorDuplexPipeTransport Remove hacks for proactor: it was a workaround for a bug in the _overlapped module | ||||
| | | * | Merge with default | Victor Stinner | 2014-01-30 | 1 | -0/+1 |
| | | |\ | |||||
| | | * | | _ProactorDuplexPipeTransport requires eof_received() method on the write pipe | Victor Stinner | 2014-01-30 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | protocol | ||||
| | | * | | Fix unit tests | Victor Stinner | 2014-01-30 | 1 | -5/+5 |
| | | | | | |||||
| | | * | | Merge with default | Victor Stinner | 2014-01-30 | 1 | -1/+4 |
| | | |\ \ | |||||
| | | * | | | overlapped.c: Fix usage of the union | Victor Stinner | 2014-01-30 | 1 | -9/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | * read_buffer can only be used for TYPE_READ and TYPE_ACCEPT types * write_buffer can only be used for TYPE_WRITE type | ||||
| | | * | | | Fix _ProactorBasePipeTransport: always pause the writing when an overlapped | Victor Stinner | 2014-01-30 | 1 | -9/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | write is pending. Disable the high water check since get_write_buffer_size() doesn't count bytes written by an overlapped write. | ||||
| | | * | | | "sleep 1" is not a valid shell command on Windows | Victor Stinner | 2014-01-30 | 1 | -2/+5 |
| | | | | | | |||||
| | | * | | | Merge with default | Victor Stinner | 2014-01-30 | 7 | -2/+532 |
| | | |\ \ \ | |||||
| | | | * | | | Fix race conditions | Victor Stinner | 2014-01-30 | 1 | -15/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove complex code to maintain a Process.returncode attribute: replace it with a read-only property getting transport.get_returncode() * Remove _dead attribute: check the alive status using the transport instead (check if the returncode is known or not) | ||||
| | | | * | | | _read_stream() ensures that fd is 1; pass parameters as keywords | Victor Stinner | 2014-01-30 | 1 | -6/+11 |
| | | | | | | | |||||
| | | | * | | | Fix SubprocessStreamProtocol constructor: pass loop to FlowControlMixin | Victor Stinner | 2014-01-30 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | constructor | ||||
| | | | * | | | Fix _UnixWritePipeTransport: raise BrokenPipeError when the pipe is closed | Victor Stinner | 2014-01-30 | 2 | -1/+14 |
| | | | | | | | |||||
| | | | * | | | test_subprocess: more tests from test_events.py | Victor Stinner | 2014-01-30 | 1 | -16/+68 |
| | | | | | | | |||||
| | | | * | | | Backout f9e077be6d3b (Add an optional loop parameter to get_child_watcher()) | Victor Stinner | 2014-01-29 | 3 | -25/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | On Unix, run also unit tests with the two available watchers | ||||
| | | | * | | | Rename Popen to Process to avoid confusion with subproces.Popen | Victor Stinner | 2014-01-29 | 1 | -3/+3 |
| | | | | | | | |||||
| | | | * | | | Drop call() function | Victor Stinner | 2014-01-29 | 3 | -38/+3 |
| | | | | | | | |||||
| | | | * | | | Remove Popen.close() | Victor Stinner | 2014-01-29 | 2 | -9/+2 |
| | | | | | | | |||||
| | | | * | | | Convert _noop() and _read_stream() to methods | Victor Stinner | 2014-01-29 | 1 | -18/+20 |
| | | | | | | | |||||
| | | | * | | | Allow to call get_subprocess() even if the process is dead | Victor Stinner | 2014-01-29 | 2 | -5/+20 |
| | | | | | | | |||||
| | | | * | | | Fix Popen constructor: process is dead if the returncode is already known | Victor Stinner | 2014-01-29 | 1 | -2/+1 |
| | | | | | | | |||||
| | | | * | | | add a test on communicate() | Victor Stinner | 2014-01-29 | 1 | -0/+24 |
| | | | | | | | |||||
| | | | * | | | add an unit test for stdin/stdout | Victor Stinner | 2014-01-29 | 1 | -3/+40 |
| | | | | | | | |||||
| | | | * | | | StreamReader: pass explicitly the loop | Victor Stinner | 2014-01-29 | 1 | -2/+4 |
| | | | | | | | |||||
| | | | * | | | Add an optional loop parameter to get_child_watcher() | Victor Stinner | 2014-01-29 | 3 | -8/+12 |
| | | | | | | | |||||
| | | | * | | | Add a first unit test for subprocess | Victor Stinner | 2014-01-29 | 1 | -0/+27 |
| | | | | | | | |||||
| | | | * | | | subprocess: pass explicitly the loop | Victor Stinner | 2014-01-29 | 1 | -18/+21 |
| | | | | | | | |||||
| | | | * | | | Export PIPE, STDOUT and DEVNULL constants in asyncio.subprocess | Victor Stinner | 2014-01-29 | 3 | -9/+14 |
| | | | | | | | |||||
| | | | * | | | Rename subprocess_streams.py to subprocess.py to get asyncio.subprocess name | Victor Stinner | 2014-01-29 | 3 | -3/+3 |
| | | | | | | | |||||
| | | | * | | | Move _dead to Popen | Victor Stinner | 2014-01-29 | 1 | -10/+15 |
| | | | | | | | |||||
| | | | * | | | Reuse _waiters to set Popen.returncode | Victor Stinner | 2014-01-29 | 1 | -6/+11 |
| | | | | | | | |||||
| | | | * | | | Create a Popen object without the protocol methods | Victor Stinner | 2014-01-29 | 2 | -42/+58 |
| | | | | | | | |||||
| | | | * | | | Add call() function | Victor Stinner | 2014-01-29 | 2 | -6/+28 |
| | | | | | | | |||||
| | | | * | | | Add a returncode attribute | Victor Stinner | 2014-01-29 | 1 | -5/+5 |
| | | | | | | | |||||
