summaryrefslogtreecommitdiff
path: root/asyncio
Commit message (Collapse)AuthorAgeFilesLines
* 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-313-9/+211
|\
| * Merge default -> subprocess_stream: whitespace cleanup, ↵Guido van Rossum2014-01-303-10/+231
| |\ | | | | | | | | | set_exception(<class>) fix, setup.cfg.
| | * Leave overlapped.c unchanged, revert previous change in Overlapped.getresult()Victor Stinner2014-01-301-10/+4
| | |
| | * Overlapped.getresult() now raises BrokenPipeError, even on ReadFile()Victor Stinner2014-01-302-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 defaultVictor Stinner2014-01-301-0/+1
| | |\
| | * | _ProactorDuplexPipeTransport requires eof_received() method on the write pipeVictor Stinner2014-01-301-0/+6
| | | | | | | | | | | | | | | | protocol
| | * | Merge with defaultVictor Stinner2014-01-301-1/+4
| | |\ \
| | * | | 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.
| | * | | Merge with defaultVictor Stinner2014-01-303-1/+201
| | |\ \ \
| | | * | | 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-301-1/+1
| | | | | |
| | | * | | Backout f9e077be6d3b (Add an optional loop parameter to get_child_watcher())Victor Stinner2014-01-292-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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-291-26/+0
| | | | | |
| | | * | | Remove Popen.close()Victor Stinner2014-01-291-8/+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-291-5/+3
| | | | | |
| | | * | | Fix Popen constructor: process is dead if the returncode is already knownVictor Stinner2014-01-291-2/+1
| | | | | |
| | | * | | StreamReader: pass explicitly the loopVictor Stinner2014-01-291-2/+4
| | | | | |
| | | * | | Add an optional loop parameter to get_child_watcher()Victor Stinner2014-01-292-8/+10
| | | | | |
| | | * | | subprocess: pass explicitly the loopVictor Stinner2014-01-291-18/+21
| | | | | |
| | | * | | Export PIPE, STDOUT and DEVNULL constants in asyncio.subprocessVictor Stinner2014-01-291-0/+6
| | | | | |
| | | * | | Rename subprocess_streams.py to subprocess.py to get asyncio.subprocess nameVictor Stinner2014-01-292-2/+2
| | | | | |
| | | * | | 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-291-42/+57
| | | | | |
| | | * | | Add call() functionVictor Stinner2014-01-291-0/+24
| | | | | |
| | | * | | Add a returncode attributeVictor Stinner2014-01-291-5/+5
| | | | | |
| | | * | | Add a communicate() methodVictor Stinner2014-01-291-0/+41
| | | | | |
| | | * | | Fix create_subprocess_exec(), don't pass limit to kwdsVictor Stinner2014-01-291-1/+0
| | | | | |
| | | * | | Update to my latested patch subprocess_streams-3.patchVictor Stinner2014-01-294-55/+75
| | | | | |
| | | * | | Merge with defaultVictor Stinner2014-01-294-25/+50
| | | |\ \ \
| | | * | | | Drop timeout parameter from SubprocessStreamProtocol.wait()Victor Stinner2014-01-281-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With the issue #117, it will be trivial to reimplement it.
| | | * | | | Add timeout parameter to SubprocessStreamProtocol.wait()Victor Stinner2014-01-281-5/+14
| | | | | | |
| | | * | | | Add send_signal(), terminate() and kill() methods to SubprocessStreamProtocolVictor Stinner2014-01-281-0/+10
| | | | | | |
| | | * | | | Simplify parameter passing for subprocessesVictor Stinner2014-01-284-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 Stinner2014-01-284-8/+7
| | | | | | |