| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | asyncio: _check_resolved_address() must also accept IPv6 without flow_info and | Victor Stinner | 2014-02-20 | 1 | -1/+1 |
| | | | | | scope_id: (host, port). | ||||
| * | asyncio: Fix _check_resolved_address() for IPv6 address | Victor Stinner | 2014-02-20 | 1 | -2/+5 |
| | | |||||
| * | asyncio: remove unused imports and unused variables noticed by pyflakes | Victor Stinner | 2014-02-20 | 6 | -9/+1 |
| | | |||||
| * | asyncio: Fix _ProactorWritePipeTransport._pipe_closed() | Victor Stinner | 2014-02-20 | 1 | -1/+1 |
| | | | | | The "exc" variable was not defined, pass a BrokenPipeError exception instead. | ||||
| * | asyncio.subprocess: Fix a race condition in communicate() | Victor Stinner | 2014-02-20 | 1 | -2/+1 |
| | | | | | | Use self._loop instead of self._transport._loop, because transport._loop is set to None at process exit. | ||||
| * | asyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests. | Victor Stinner | 2014-02-19 | 3 | -1/+19 |
| | | | | | | | Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since Python startup, to be able to debug coroutines defined directly in the asyncio module. | ||||
| * | asyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol | Yury Selivanov | 2014-02-19 | 1 | -2/+6 |
| | | |||||
| * | asyncio: pep8-ify the code. | Yury Selivanov | 2014-02-19 | 2 | -7/+9 |
| | | |||||
| * | asyncio: Fix spelling and typos. | Yury Selivanov | 2014-02-19 | 7 | -11/+11 |
| | | | | | Thanks to Vajrasky Kok for discovering some of them. | ||||
| * | asyncio, Tulip issue 143: UNIX domain methods, fix ResourceWarning and | Victor Stinner | 2014-02-19 | 1 | -4/+4 |
| | | | | | | DeprecationWarning warnings. create_unix_server() closes the socket on any error, not only on OSError. | ||||
| * | asyncio, Tulip issue 139: Improve error messages on "fatal errors" | Victor Stinner | 2014-02-19 | 3 | -22/+24 |
| | | | | | | Mention if the error was caused by a read or a write, and be more specific on the object (ex: "pipe transport" instead of "transport"). | ||||
| * | asyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixin | Yury Selivanov | 2014-02-18 | 4 | -125/+75 |
| | | |||||
| * | asyncio: New error handling API. Issue #20681. | Yury Selivanov | 2014-02-18 | 8 | -40/+229 |
| | | |||||
| * | asyncio: Make tests pass on Windows. | Guido van Rossum | 2014-02-18 | 1 | -1/+3 |
| | | |||||
| * | asyncio: Add support for UNIX Domain Sockets. | Yury Selivanov | 2014-02-18 | 5 | -37/+263 |
| | | |||||
| * | ayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if | Victor Stinner | 2014-02-13 | 3 | -13/+41 |
| | | | | | | the address is not resolved (hostname instead of an IP address) for AF_INET and AF_INET6 address families. | ||||
| * | asyncio: Change as_completed() to use a Queue, to avoid O(N**2) behavior. ↵ | Guido van Rossum | 2014-02-13 | 1 | -20/+33 |
| | | | | | Fixes issue #20566. | ||||
| * | asyncio.events: Use __slots__ in Handle and TimerHandle | Yury Selivanov | 2014-02-12 | 1 | -0/+4 |
| | | |||||
| * | Issue #20505: Remove debug code | Victor Stinner | 2014-02-11 | 1 | -20/+0 |
| | | |||||
| * | asyncio, Tulip issue 131: as_completed() and wait() now raises a TypeError if | Victor Stinner | 2014-02-11 | 1 | -0/+4 |
| | | | | | the list of futures is not a list but a Future, Task or coroutine object | ||||
| * | asyncio, Tulip issue 130: Add more checks on subprocess_exec/subprocess_shell | Victor Stinner | 2014-02-11 | 2 | -5/+12 |
| | | | | | parameters | ||||
| * | asyncio, Tulip issue 126: call_soon(), call_soon_threadsafe(), call_later(), | Victor Stinner | 2014-02-11 | 2 | -1/+10 |
| | | | | | | call_at() and run_in_executor() now raise a TypeError if the callback is a coroutine function. | ||||
| * | Issue #20505: use also the monotonic time to decide if asyncio debug traces | Victor Stinner | 2014-02-11 | 1 | -3/+4 |
| | | | | | should be printed | ||||
| * | Issue #20505: Oops, only print debug info if selector.select(timeout) took less | Victor Stinner | 2014-02-11 | 1 | -1/+1 |
| | | | | | than timeout | ||||
| * | Issue #20505: Improve debug info in asyncio event loop | Victor Stinner | 2014-02-11 | 1 | -5/+18 |
| | | |||||
| * | Issue #20505: Fix TestLoop, set the clock resolution | Victor Stinner | 2014-02-11 | 1 | -0/+1 |
| | | |||||
| * | Issue #20505: BaseEventLoop uses again the resolution of the clock to decide if | Victor Stinner | 2014-02-10 | 1 | -2/+3 |
| | | | | | scheduled tasks should be executed or not. | ||||
| * | Issue #20505: Add debug info to analyze sporaric failures of | Victor Stinner | 2014-02-10 | 1 | -0/+6 |
| | | | | | test_timeout_rounding() on Windows XP buildbots. | ||||
| * | asyncio: Tulip issue 112: Inline make_handle() into Handle constructor | Victor Stinner | 2014-02-09 | 5 | -12/+7 |
| | | |||||
| * | asyncio: Remove more relics of resolution/granularity. | Guido van Rossum | 2014-02-09 | 2 | -6/+0 |
| | | |||||
| * | asyncio: Remove Process.subprocess attribute; it's too easy to get inconsistent | Victor Stinner | 2014-02-09 | 1 | -4/+0 |
| | | | | | Process and Popen objects | ||||
| * | Issue #20505: Remove resolution and _granularity from selectors and asyncio | Victor Stinner | 2014-02-07 | 3 | -14/+1 |
| | | | | | | * Remove selectors.BaseSelector.resolution attribute * Remove asyncio.BaseEventLoop._granularity attribute | ||||
| * | Issue #20505: add debug info | Victor Stinner | 2014-02-07 | 1 | -0/+10 |
| | | |||||
| * | asyncio.tasks: Fix as_completed, gather & wait to work with duplicate coroutines | Yury Selivanov | 2014-02-07 | 1 | -3/+4 |
| | | |||||
| * | asyncio.tasks.gather: Fix docstring | Yury Selivanov | 2014-02-06 | 1 | -1/+1 |
| | | |||||
| * | asyncio.streams.StreamReader: Add 'at_eof()' method | Yury Selivanov | 2014-02-06 | 1 | -0/+4 |
| | | |||||
| * | asyncio.streams: Use bytebuffer in StreamReader; Add assertion in feed_data | Yury Selivanov | 2014-02-05 | 1 | -49/+24 |
| | | |||||
| * | asyncio: Fix _ProactorWritePipeTransport._pipe_closed() | Victor Stinner | 2014-02-04 | 1 | -1/+4 |
| | | | | | | Do nothing if the pipe is already closed. _loop_writing() may call _force_close() when it gets ConnectionResetError. | ||||
| * | asyncio.subprocess: Replace Process.get_subprocess() method with a | Victor Stinner | 2014-02-03 | 1 | -1/+2 |
| | | | | | Process.subprocess read-only property | ||||
| * | Issue #20400: Merge Tulip into Python: add the new asyncio.subprocess module | Victor Stinner | 2014-02-01 | 5 | -33/+230 |
| | | | | | | | | | | | | | | | | | | | | | * 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) | ||||
| * | Issue #20455: Add a resolution attribute to IocpProactor (1 ms) | Victor Stinner | 2014-01-31 | 2 | -0/+2 |
| | | |||||
| * | Issue #20455: asyncio: use the same code to round a timeout than the selectors | Victor Stinner | 2014-01-31 | 1 | -4/+9 |
| | | | | | | | module Sort also imports | ||||
| * | Issue #20455: asyncio: write a new write pipe transport class for proactor (on | Victor Stinner | 2014-01-31 | 1 | -12/+26 |
| | | | | | | | | Windows) instead of using the "duplex" pipe transport. The new class uses a simpler overlapped read to be notified when the pipe is closed. So the protocol doesn't need to implement eof_received(): connection_lost() is called instead. _UnixWritePipeTransport has the same approach. | ||||
| * | asyncio: Fix _UnixWritePipeTransport, raise BrokenPipeError when the pipe is | Victor Stinner | 2014-01-31 | 1 | -1/+4 |
| | | | | | closed, but only if there was pending write | ||||
| * | Issue #20452: Remove debug code, no more needed | Victor Stinner | 2014-01-31 | 1 | -9/+1 |
| | | |||||
| * | asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written | Victor Stinner | 2014-01-31 | 1 | -1/+1 |
| | | | | | by Vajrasky Kok. | ||||
| * | Issue #20452: select and selectors round (again) timeout away from zero for | Victor Stinner | 2014-01-31 | 1 | -10/+5 |
| | | | | | | | poll and epoll Improve also debug info to analyze the issue | ||||
| * | Issue #20452: Oops, fix debug code :-/ | Victor Stinner | 2014-01-31 | 1 | -5/+10 |
| | | | | | Add also event more debug info | ||||
| * | Issue #20452: add more info in case of test_asyncio failure to try to debug the | Victor Stinner | 2014-01-31 | 1 | -1/+9 |
| | | | | | failure on buildbot "x86 Ubuntu Shared 3.x" | ||||
| * | asyncio: Fix misc whitespace issues. | Guido van Rossum | 2014-01-31 | 1 | -0/+1 |
| | | |||||
