summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* The subprocess_stream branch has been merged manually into default, close ↵subprocess_streamVictor Stinner2014-02-010-0/+0
| | | | the branch
* Add examples showing how to attach a read or write pipe to a subprocessVictor Stinner2014-02-012-0/+66
|
* Fix _ProactorBasePipeTransport._force_close(): set pending write to 0Victor Stinner2014-02-011-3/+3
|
* Remove STDIN, STDOUT and STDERR from base_subprocess and unix_eventsVictor Stinner2014-02-012-20/+10
|
* Restore __all__ of asyncio.subprocessVictor Stinner2014-02-012-4/+3
|
* Fix typo in __all__ of subprocess.pyVictor Stinner2014-02-011-1/+1
|
* asyncio.subprocess: export also PIPE, STDOUT and DEVNULL symbolsVictor Stinner2014-02-012-3/+4
|
* Remove now useless functools.partial()Victor Stinner2014-02-011-3/+1
|
* Simplify _ProactorBaseWritePipeTransportVictor Stinner2014-02-011-7/+5
| | | | A pipe transport can only has one overlapped write at once.
* _ProactorBasePipeTransport.get_write_buffer_size() now includes pending writesVictor Stinner2014-02-011-14/+22
|
* indent correctlyVictor Stinner2014-02-011-1/+1
|
* Fix the fix for _ProactorBaseWritePipeTransportVictor Stinner2014-02-011-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 _ProactorBaseWritePipeTransportVictor Stinner2014-02-011-3/+7
| | | | If the write completes immediatly, resume the protocol instead of pause it.
* Merge with defaultVictor Stinner2014-01-317-10/+545
|\
| * Merge default -> subprocess_stream: whitespace cleanup, ↵Guido van Rossum2014-01-307-11/+565
| |\ | | | | | | | | | set_exception(<class>) fix, setup.cfg.
| | * Leave overlapped.c unchanged, revert previous change in Overlapped.getresult()Victor Stinner2014-01-302-10/+8
| | |
| | * Overlapped.getresult() now raises BrokenPipeError, even on ReadFile()Victor Stinner2014-01-303-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 defaultVictor Stinner2014-01-301-0/+1
| | |\
| | * | _ProactorDuplexPipeTransport requires eof_received() method on the write pipeVictor Stinner2014-01-301-0/+6
| | | | | | | | | | | | | | | | protocol
| | * | Fix unit testsVictor Stinner2014-01-301-5/+5
| | | |
| | * | Merge with defaultVictor Stinner2014-01-301-1/+4
| | |\ \
| | * | | overlapped.c: Fix usage of the unionVictor Stinner2014-01-301-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 overlappedVictor Stinner2014-01-301-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 WindowsVictor Stinner2014-01-301-2/+5
| | | | |
| | * | | Merge with defaultVictor Stinner2014-01-307-2/+532
| | |\ \ \
| | | * | | Fix race conditionsVictor Stinner2014-01-301-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 keywordsVictor Stinner2014-01-301-6/+11
| | | | | |
| | | * | | Fix SubprocessStreamProtocol constructor: pass loop to FlowControlMixinVictor Stinner2014-01-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | constructor
| | | * | | Fix _UnixWritePipeTransport: raise BrokenPipeError when the pipe is closedVictor Stinner2014-01-302-1/+14
| | | | | |
| | | * | | test_subprocess: more tests from test_events.pyVictor Stinner2014-01-301-16/+68
| | | | | |
| | | * | | Backout f9e077be6d3b (Add an optional loop parameter to get_child_watcher())Victor Stinner2014-01-293-25/+54
| | | | | | | | | | | | | | | | | | | | | | | | On Unix, run also unit tests with the two available watchers
| | | * | | Rename Popen to Process to avoid confusion with subproces.PopenVictor Stinner2014-01-291-3/+3
| | | | | |
| | | * | | Drop call() functionVictor Stinner2014-01-293-38/+3
| | | | | |
| | | * | | Remove Popen.close()Victor Stinner2014-01-292-9/+2
| | | | | |
| | | * | | Convert _noop() and _read_stream() to methodsVictor Stinner2014-01-291-18/+20
| | | | | |
| | | * | | Allow to call get_subprocess() even if the process is deadVictor Stinner2014-01-292-5/+20
| | | | | |
| | | * | | Fix Popen constructor: process is dead if the returncode is already knownVictor Stinner2014-01-291-2/+1
| | | | | |
| | | * | | add a test on communicate()Victor Stinner2014-01-291-0/+24
| | | | | |
| | | * | | add an unit test for stdin/stdoutVictor Stinner2014-01-291-3/+40
| | | | | |
| | | * | | StreamReader: pass explicitly the loopVictor Stinner2014-01-291-2/+4
| | | | | |
| | | * | | Add an optional loop parameter to get_child_watcher()Victor Stinner2014-01-293-8/+12
| | | | | |
| | | * | | Add a first unit test for subprocessVictor Stinner2014-01-291-0/+27
| | | | | |
| | | * | | subprocess: pass explicitly the loopVictor Stinner2014-01-291-18/+21
| | | | | |
| | | * | | Export PIPE, STDOUT and DEVNULL constants in asyncio.subprocessVictor Stinner2014-01-293-9/+14
| | | | | |
| | | * | | Rename subprocess_streams.py to subprocess.py to get asyncio.subprocess nameVictor Stinner2014-01-293-3/+3
| | | | | |
| | | * | | Move _dead to PopenVictor Stinner2014-01-291-10/+15
| | | | | |
| | | * | | Reuse _waiters to set Popen.returncodeVictor Stinner2014-01-291-6/+11
| | | | | |
| | | * | | Create a Popen object without the protocol methodsVictor Stinner2014-01-292-42/+58
| | | | | |
| | | * | | Add call() functionVictor Stinner2014-01-292-6/+28
| | | | | |
| | | * | | Add a returncode attributeVictor Stinner2014-01-291-5/+5
| | | | | |