summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix spelling & typosYury Selivanov2014-02-1812-18/+18
|
* Issue #143: UNIX domain methods, fix ResourceWarning and DeprecationWarningVictor Stinner2014-02-192-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 Stinner2014-02-196-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 _FlowControlMixinYury Selivanov2014-02-184-125/+75
|
* Add new event loop exception handling API (closes issue #80).Yury Selivanov2014-02-1814-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 Rossum2014-02-181-1/+3
|
* Add support for UNIX Domain Sockets. Closes issue #81.Yury Selivanov2014-02-1810-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 OpenBSDVictor Stinner2014-02-181-0/+4
|
* Update email address for A. Jesse Jiryu Davis.jesse2014-02-181-1/+1
|
* Fix test_events.py: skip IPv6 if IPv6 is disabled on the hostVictor Stinner2014-02-131-1/+5
|
* Issue #129: BaseEventLoop.sock_connect() now raises an error if the address isVictor Stinner2014-02-134-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 Rossum2014-02-121-0/+69
|
* Change as_completed() to use a Queue, to avoid O(N**2) behavior. Fixes issue ↵Guido van Rossum2014-02-122-21/+55
| | | | #127.
* events: Use __slots__ in Handle and TimerHandleYury Selivanov2014-02-121-0/+4
|
* Python issue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSDVictor Stinner2014-02-111-0/+2
| | | | older than FreeBSD 8
* Issue #131: as_completed() and wait() now raises a TypeError if the list ofVictor Stinner2014-02-112-0/+30
| | | | futures is not a list but a Future, Task or coroutine object
* Issue #130: Add more checks on subprocess_exec/subprocess_shell parametersVictor Stinner2014-02-113-7/+64
|
* Remove debug traces, there are only useful on Python buildbotsVictor Stinner2014-02-111-6/+0
|
* Issue #126: call_soon(), call_soon_threadsafe(), call_later(), call_at() andVictor Stinner2014-02-116-13/+39
| | | | | run_in_executor() now raise a TypeError if the callback is a coroutine function.
* Fix TestLoop, set the clock resolutionVictor Stinner2014-02-111-0/+1
|
* Python issue #20505: BaseEventLoop uses again the resolution of the clock toVictor Stinner2014-02-102-6/+18
| | | | decide if scheduled tasks should be executed or not.
* Add hint for pypi release on Windows.Guido van Rossum2014-02-101-0/+2
|
* Added tag 0.3.1 for changeset 70a228927cabGuido van Rossum2014-02-100-0/+0
|
* Bump to version 0.3.1.0.3.1Guido van Rossum2014-02-102-2/+3
|
* Removed tag 0.3.1Guido van Rossum2014-02-100-0/+0
|
* Added tag 0.3.1 for changeset b01fa490bc3dGuido van Rossum2014-02-100-0/+0
|
* Issue #112: Inline make_handle() into Handle constructorVictor Stinner2014-02-106-14/+9
|
* Remove more relics of resolution/granularity.Guido van Rossum2014-02-082-6/+0
|
* Remove Process.subprocess attribute; it's too easy to get inconsistent ProcessVictor Stinner2014-02-092-24/+0
| | | | and Popen objects
* Fix test bug (should use list, not set).Guido van Rossum2014-02-081-1/+1
|
* Remove scories of resolution/granularityVictor Stinner2014-02-093-7/+0
|
* Remove resolution and _granularity from selectors and asyncioVictor Stinner2014-02-076-42/+10
| | | | | * Remove selectors.BaseSelector.resolution attribute * Remove asyncio.BaseEventLoop._granularity attribute
* tasks: Fix as_completed, gather & wait to work with duplicate coroutines. ↵Yury Selivanov2014-02-062-11/+51
| | | | Issue #114
* tasks.gather: Fix docstringYury Selivanov2014-02-061-1/+1
|
* streams.StreamReader: Add 'at_eof()' methodYury Selivanov2014-02-062-0/+19
|
* streams.StreamReader.feed_data: Add assertion that stream is not in EOF stateYury Selivanov2014-02-051-0/+2
|
* streams.StreamReader: Use bytearray instead of deque of bytes for internal ↵Yury Selivanov2014-02-042-76/+74
| | | | buffer
* Cosmetic improvement to test__run_once_logging() mock argument.Guido van Rossum2014-02-041-5/+3
|
* Fix _ProactorWritePipeTransport._pipe_closed()Victor Stinner2014-02-041-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 theVictor Stinner2014-02-043-8/+17
| | | | granularity
* test_events: skip PTY tests on Mac OS X older than 10.6Victor Stinner2014-02-031-0/+6
|
* Remove empty line at the end of subprocess.pyVictor Stinner2014-02-031-1/+0
|
* Replace Process.get_subprocess() method with a Process.subprocess read-only ↵Victor Stinner2014-02-032-10/+11
| | | | property
* Merge (manually) the subprocess_stream into defaultVictor Stinner2014-02-0111-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 Rossum2014-01-315-19/+47
| | | | repo.
* selectors: round (again) timeout away from zero for poll and epollVictor Stinner2014-01-311-2/+8
|
* asyncio: Fix error message in BaseEventLoop.subprocess_shell(). Patch writtenVictor Stinner2014-01-311-1/+1
| | | | by Vajrasky Kok.
* Minor packaging tweak by ?ric Araujo. Fixes issue #116.Guido van Rossum2014-01-302-3/+5
|
* Normalize whitespace (use "make pep8" to verify).Guido van Rossum2014-01-303-13/+15
|
* 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