Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if ↵ | Guido van Rossum | 2014-05-12 | 1 | -6/+11 |
| | | | | data exceeds buffer limit. | ||||
* | asyncio: Upstream issue #167: remove dead code, by Marc Schlaich. | Guido van Rossum | 2014-05-10 | 1 | -5/+1 |
| | |||||
* | asyncio: Fix the second half of issue #21447: race in _write_to_self(). | Guido van Rossum | 2014-05-06 | 1 | -4/+11 |
| | |||||
* | asyncio: Add __weakref__ slots to Handle and CoroWrapper. Upstream issue #166. | Guido van Rossum | 2014-04-27 | 2 | -2/+2 |
| | |||||
* | asyncio: Be careful accessing instance variables in __del__ (closes #21340). | Guido van Rossum | 2014-04-27 | 1 | -1/+3 |
| | |||||
* | asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream #163). | Guido van Rossum | 2014-04-15 | 1 | -0/+12 |
| | |||||
* | asyncio.tasks: Make sure CoroWrapper.send proxies one argument correctly | Yury Selivanov | 2014-04-15 | 1 | -0/+2 |
| | | | | Issue #21209. | ||||
* | asyncio.tasks: Fix CoroWrapper to workaround yield-from bug in CPython < 3.4.1 | Yury Selivanov | 2014-04-15 | 1 | -1/+4 |
| | | | | Closes issue #21209. | ||||
* | Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError if | Victor Stinner | 2014-04-07 | 1 | -0/+4 |
| | | | | path and sock are specified at the same time. | ||||
* | asyncio: Document Task.cancel() properly. | Victor Stinner | 2014-04-07 | 1 | -0/+19 |
| | |||||
* | asyncio: Ensure call_soon(), call_later() and call_at() are invoked on current | Victor Stinner | 2014-03-21 | 1 | -1/+22 |
| | | | | | | loop in debug mode. Raise a RuntimeError if the event loop of the current thread is different. The check should help to debug thread-safetly issue. Patch written by David Foster. | ||||
* | asyncio, Tulip issue 157: Improve test_events.py, avoid run_briefly() which is | Victor Stinner | 2014-03-06 | 1 | -9/+6 |
| | | | | not reliable | ||||
* | asyncio: Synchronize with Tulip | Victor Stinner | 2014-03-05 | 2 | -2/+23 |
| | | | | | | | | | | | | * Issue #159: Fix windows_utils.socketpair() - Use "127.0.0.1" (IPv4) or "::1" (IPv6) host instead of "localhost", because "localhost" may be a different IP address - Reject also invalid arguments: only AF_INET/AF_INET6 with SOCK_STREAM (and proto=0) are supported * Reject add/remove reader/writer when event loop is closed. * Fix ResourceWarning warnings | ||||
* | asyncio, Tulip issue 158: Task._step() now also sets self to None if an | Victor Stinner | 2014-03-04 | 1 | -1/+1 |
| | | | | exception is raised. self is set to None to break a reference cycle. | ||||
* | asyncio/windows_events.py: use more revelant names to overlapped callbacks | Victor Stinner | 2014-02-26 | 2 | -12/+11 |
| | | | | For example: "finish_recv", not just "finish". | ||||
* | asyncio: Fix pyflakes warnings: remove unused variables and imports | Victor Stinner | 2014-02-26 | 1 | -1/+0 |
| | |||||
* | asyncio: Replace "unittest.mock" with "mock" in unit tests | Victor Stinner | 2014-02-26 | 1 | -2/+2 |
| | | | | | Use "from unittest import mock". It should simplify my work to merge new tests in Trollius, because Trollius uses "mock" backport for Python 2. | ||||
* | 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 |
| |