| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | 3 | -9/+211 |
| |\ | |||||
| | * | Merge default -> subprocess_stream: whitespace cleanup, ↵ | Guido van Rossum | 2014-01-30 | 3 | -10/+231 |
| | |\ | | | | | | | | | | set_exception(<class>) fix, setup.cfg. | ||||
| | | * | Leave overlapped.c unchanged, revert previous change in Overlapped.getresult() | Victor Stinner | 2014-01-30 | 1 | -10/+4 |
| | | | | |||||
| | | * | Overlapped.getresult() now raises BrokenPipeError, even on ReadFile() | Victor Stinner | 2014-01-30 | 2 | -7/+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 | ||||
| | | * | | Merge with default | Victor Stinner | 2014-01-30 | 1 | -1/+4 |
| | | |\ \ | |||||
| | | * | | | 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. | ||||
| | | * | | | Merge with default | Victor Stinner | 2014-01-30 | 3 | -1/+201 |
| | | |\ \ \ | |||||
| | | | * | | | 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 | 1 | -1/+1 |
| | | | | | | | |||||
| | | | * | | | Backout f9e077be6d3b (Add an optional loop parameter to get_child_watcher()) | Victor Stinner | 2014-01-29 | 2 | -10/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -26/+0 |
| | | | | | | | |||||
| | | | * | | | Remove Popen.close() | Victor Stinner | 2014-01-29 | 1 | -8/+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 | 1 | -5/+3 |
| | | | | | | | |||||
| | | | * | | | Fix Popen constructor: process is dead if the returncode is already known | Victor Stinner | 2014-01-29 | 1 | -2/+1 |
| | | | | | | | |||||
| | | | * | | | 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 | 2 | -8/+10 |
| | | | | | | | |||||
| | | | * | | | 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 | 1 | -0/+6 |
| | | | | | | | |||||
| | | | * | | | Rename subprocess_streams.py to subprocess.py to get asyncio.subprocess name | Victor Stinner | 2014-01-29 | 2 | -2/+2 |
| | | | | | | | |||||
| | | | * | | | 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 | 1 | -42/+57 |
| | | | | | | | |||||
| | | | * | | | Add call() function | Victor Stinner | 2014-01-29 | 1 | -0/+24 |
| | | | | | | | |||||
| | | | * | | | Add a returncode attribute | Victor Stinner | 2014-01-29 | 1 | -5/+5 |
| | | | | | | | |||||
| | | | * | | | Add a communicate() method | Victor Stinner | 2014-01-29 | 1 | -0/+41 |
| | | | | | | | |||||
| | | | * | | | Fix create_subprocess_exec(), don't pass limit to kwds | Victor Stinner | 2014-01-29 | 1 | -1/+0 |
| | | | | | | | |||||
| | | | * | | | Update to my latested patch subprocess_streams-3.patch | Victor Stinner | 2014-01-29 | 4 | -55/+75 |
| | | | | | | | |||||
| | | | * | | | Merge with default | Victor Stinner | 2014-01-29 | 4 | -25/+50 |
| | | | |\ \ \ | |||||
| | | | * | | | | Drop timeout parameter from SubprocessStreamProtocol.wait() | Victor Stinner | 2014-01-28 | 1 | -9/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the issue #117, it will be trivial to reimplement it. | ||||
| | | | * | | | | Add timeout parameter to SubprocessStreamProtocol.wait() | Victor Stinner | 2014-01-28 | 1 | -5/+14 |
| | | | | | | | | |||||
| | | | * | | | | Add send_signal(), terminate() and kill() methods to SubprocessStreamProtocol | Victor Stinner | 2014-01-28 | 1 | -0/+10 |
| | | | | | | | | |||||
| | | | * | | | | Simplify parameter passing for subprocesses | Victor Stinner | 2014-01-28 | 4 | -37/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pass keywords as a classic dictionary, no need to pack/unpack the dictionary at each function call. | ||||
| | | | * | | | | Remove unused extra parameter of _make_subprocess_transport() | Victor Stinner | 2014-01-28 | 4 | -8/+7 |
| | | | | | | | | |||||
