Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix spelling & typos | Yury Selivanov | 2014-02-18 | 12 | -18/+18 | |
| | ||||||
* | Issue #143: UNIX domain methods, fix ResourceWarning and DeprecationWarning | Victor Stinner | 2014-02-19 | 2 | -17/+19 | |
| | | | | | warnings. create_unix_server() closes the socket on any error, not only on OSError. | |||||
* | Issue #139: Improve error messages on "fatal errors" | Victor Stinner | 2014-02-19 | 6 | -38/+64 | |
| | | | | | 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"). | |||||
* | transports: Make _ProactorBasePipeTransport use _FlowControlMixin | Yury Selivanov | 2014-02-18 | 4 | -125/+75 | |
| | ||||||
* | Add new event loop exception handling API (closes issue #80). | Yury Selivanov | 2014-02-18 | 14 | -99/+487 | |
| | | | | | | | | New APIs: - loop.set_exception_handler() - loop.default_exception_handler() - loop.call_exception_handler() | |||||
* | Only add *_unix_* to __all__ if they are defined. | Guido van Rossum | 2014-02-18 | 1 | -1/+3 | |
| | ||||||
* | Add support for UNIX Domain Sockets. Closes issue #81. | Yury Selivanov | 2014-02-18 | 10 | -193/+738 | |
| | | | | | | | | | New APIs: - loop.create_unix_connection - loop.create_unix_server - streams.open_unix_connection - streams.start_unix_server | |||||
* | Skip test_read_pty_output() on OpenBSD | Victor Stinner | 2014-02-18 | 1 | -0/+4 | |
| | ||||||
* | Update email address for A. Jesse Jiryu Davis. | jesse | 2014-02-18 | 1 | -1/+1 | |
| | ||||||
* | Fix test_events.py: skip IPv6 if IPv6 is disabled on the host | Victor Stinner | 2014-02-13 | 1 | -1/+5 | |
| | ||||||
* | Issue #129: BaseEventLoop.sock_connect() now raises an error if the address is | Victor Stinner | 2014-02-13 | 4 | -13/+53 | |
| | | | | | not resolved (hostname instead of an IP address) for AF_INET and AF_INET6 address families. | |||||
* | Fuzz tester for as_completed(), by Glenn Langford. (See issue #127.) | Guido van Rossum | 2014-02-12 | 1 | -0/+69 | |
| | ||||||
* | Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue ↵ | Guido van Rossum | 2014-02-12 | 2 | -21/+55 | |
| | | | | #127. | |||||
* | events: Use __slots__ in Handle and TimerHandle | Yury Selivanov | 2014-02-12 | 1 | -0/+4 | |
| | ||||||
* | Python issue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSD | Victor Stinner | 2014-02-11 | 1 | -0/+2 | |
| | | | | older than FreeBSD 8 | |||||
* | Issue #131: as_completed() and wait() now raises a TypeError if the list of | Victor Stinner | 2014-02-11 | 2 | -0/+30 | |
| | | | | futures is not a list but a Future, Task or coroutine object | |||||
* | Issue #130: Add more checks on subprocess_exec/subprocess_shell parameters | Victor Stinner | 2014-02-11 | 3 | -7/+64 | |
| | ||||||
* | Remove debug traces, there are only useful on Python buildbots | Victor Stinner | 2014-02-11 | 1 | -6/+0 | |
| | ||||||
* | Issue #126: call_soon(), call_soon_threadsafe(), call_later(), call_at() and | Victor Stinner | 2014-02-11 | 6 | -13/+39 | |
| | | | | | run_in_executor() now raise a TypeError if the callback is a coroutine function. | |||||
* | Fix TestLoop, set the clock resolution | Victor Stinner | 2014-02-11 | 1 | -0/+1 | |
| | ||||||
* | Python issue #20505: BaseEventLoop uses again the resolution of the clock to | Victor Stinner | 2014-02-10 | 2 | -6/+18 | |
| | | | | decide if scheduled tasks should be executed or not. | |||||
* | Add hint for pypi release on Windows. | Guido van Rossum | 2014-02-10 | 1 | -0/+2 | |
| | ||||||
* | Added tag 0.3.1 for changeset 70a228927cab | Guido van Rossum | 2014-02-10 | 0 | -0/+0 | |
| | ||||||
* | Bump to version 0.3.1.0.3.1 | Guido van Rossum | 2014-02-10 | 2 | -2/+3 | |
| | ||||||
* | Removed tag 0.3.1 | Guido van Rossum | 2014-02-10 | 0 | -0/+0 | |
| | ||||||
* | Added tag 0.3.1 for changeset b01fa490bc3d | Guido van Rossum | 2014-02-10 | 0 | -0/+0 | |
| | ||||||
* | Issue #112: Inline make_handle() into Handle constructor | Victor Stinner | 2014-02-10 | 6 | -14/+9 | |
| | ||||||
* | Remove more relics of resolution/granularity. | Guido van Rossum | 2014-02-08 | 2 | -6/+0 | |
| | ||||||
* | Remove Process.subprocess attribute; it's too easy to get inconsistent Process | Victor Stinner | 2014-02-09 | 2 | -24/+0 | |
| | | | | and Popen objects | |||||
* | Fix test bug (should use list, not set). | Guido van Rossum | 2014-02-08 | 1 | -1/+1 | |
| | ||||||
* | Remove scories of resolution/granularity | Victor Stinner | 2014-02-09 | 3 | -7/+0 | |
| | ||||||
* | Remove resolution and _granularity from selectors and asyncio | Victor Stinner | 2014-02-07 | 6 | -42/+10 | |
| | | | | | * Remove selectors.BaseSelector.resolution attribute * Remove asyncio.BaseEventLoop._granularity attribute | |||||
* | tasks: Fix as_completed, gather & wait to work with duplicate coroutines. ↵ | Yury Selivanov | 2014-02-06 | 2 | -11/+51 | |
| | | | | Issue #114 | |||||
* | tasks.gather: Fix docstring | Yury Selivanov | 2014-02-06 | 1 | -1/+1 | |
| | ||||||
* | streams.StreamReader: Add 'at_eof()' method | Yury Selivanov | 2014-02-06 | 2 | -0/+19 | |
| | ||||||
* | streams.StreamReader.feed_data: Add assertion that stream is not in EOF state | Yury Selivanov | 2014-02-05 | 1 | -0/+2 | |
| | ||||||
* | streams.StreamReader: Use bytearray instead of deque of bytes for internal ↵ | Yury Selivanov | 2014-02-04 | 2 | -76/+74 | |
| | | | | buffer | |||||
* | Cosmetic improvement to test__run_once_logging() mock argument. | Guido van Rossum | 2014-02-04 | 1 | -5/+3 | |
| | ||||||
* | 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. | |||||
* | Adjust unit tests regarding timings: tolerate slow buildbots, add a test on the | Victor Stinner | 2014-02-04 | 3 | -8/+17 | |
| | | | | granularity | |||||
* | test_events: skip PTY tests on Mac OS X older than 10.6 | Victor Stinner | 2014-02-03 | 1 | -0/+6 | |
| | ||||||
* | Remove empty line at the end of subprocess.py | Victor Stinner | 2014-02-03 | 1 | -1/+0 | |
| | ||||||
* | Replace Process.get_subprocess() method with a Process.subprocess read-only ↵ | Victor Stinner | 2014-02-03 | 2 | -10/+11 | |
| | | | | property | |||||
* | Merge (manually) the subprocess_stream into default | Victor Stinner | 2014-02-01 | 11 | -34/+631 | |
| | | | | | | | | | | | | | | | | | | | | | | * 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) * Add new subprocess examples: shell.py, subprocess_shell.py, * subprocess_attach_read_pipe.py and subprocess_attach_write_pipe.py | |||||
* | Copy a bunch of fixes by Victor for the Proactor event loop from the CPython ↵ | Guido van Rossum | 2014-01-31 | 5 | -19/+47 | |
| | | | | repo. | |||||
* | selectors: round (again) timeout away from zero for poll and epoll | Victor Stinner | 2014-01-31 | 1 | -2/+8 | |
| | ||||||
* | asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch written | Victor Stinner | 2014-01-31 | 1 | -1/+1 | |
| | | | | by Vajrasky Kok. | |||||
* | Minor packaging tweak by ?ric Araujo. Fixes issue #116. | Guido van Rossum | 2014-01-30 | 2 | -3/+5 | |
| | ||||||
* | Normalize whitespace (use "make pep8" to verify). | Guido van Rossum | 2014-01-30 | 3 | -13/+15 | |
| | ||||||
* | overlapped.c: Fix usage of the union | Victor Stinner | 2014-01-30 | 1 | -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 |