Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | asyncio: Synchronize with Tulip | Victor Stinner | 2014-03-05 | 1 | -0/+8 |
| | | | | | | | | | | | | * 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/windows_events.py: use more revelant names to overlapped callbacks | Victor Stinner | 2014-02-26 | 1 | -2/+1 |
| | | | | For example: "finish_recv", not just "finish". | ||||
* | asyncio: Fix spelling and typos. | Yury Selivanov | 2014-02-19 | 1 | -1/+1 |
| | | | | Thanks to Vajrasky Kok for discovering some of them. | ||||
* | asyncio, Tulip issue 139: Improve error messages on "fatal errors" | Victor Stinner | 2014-02-19 | 1 | -10/+12 |
| | | | | | 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 | 1 | -71/+2 |
| | |||||
* | asyncio: New error handling API. Issue #20681. | Yury Selivanov | 2014-02-18 | 1 | -8/+27 |
| | |||||
* | ayncio, Tulip issue 129: BaseEventLoop.sock_connect() now raises an error if | Victor Stinner | 2014-02-13 | 1 | -12/+8 |
| | | | | | the address is not resolved (hostname instead of an IP address) for AF_INET and AF_INET6 address families. | ||||
* | asyncio: Tulip issue 112: Inline make_handle() into Handle constructor | Victor Stinner | 2014-02-09 | 1 | -2/+2 |
| | |||||
* | Issue #20505: Remove resolution and _granularity from selectors and asyncio | Victor Stinner | 2014-02-07 | 1 | -1/+0 |
| | | | | | * Remove selectors.BaseSelector.resolution attribute * Remove asyncio.BaseEventLoop._granularity attribute | ||||
* | asyncio: Refactoring: move write flow control to a subclass/mixin. | Guido van Rossum | 2014-01-29 | 1 | -37/+61 |
| | |||||
* | Merge latest Tulip into asyncio | Victor Stinner | 2014-01-25 | 1 | -1/+1 |
| | | | | | | - Make the new granularity attribute private - Simplify BaseEventLoop._run_once(): avoid math.ceil(), use simple arithmetic instead | ||||
* | Update asyncio from the Tulip project | Victor Stinner | 2014-01-25 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | Major changes: - StreamReader.readexactly() now raises an IncompleteReadError if the end of stream is reached before we received enough bytes, instead of returning less bytes than requested. - Unit tests use the main asyncio module instead of submodules like events - _UnixWritePipeTransport now also supports character devices, as _UnixReadPipeTransport. Patch written by Jonathan Slenders. - Export more symbols: BaseEventLoop, BaseProactorEventLoop, BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full | ||||
* | Issue #20311: asyncio: Add a granularity attribute to BaseEventLoop: maximum | Victor Stinner | 2014-01-25 | 1 | -0/+1 |
| | | | | | | between the resolution of the BaseEventLoop.time() method and the resolution of the selector. The granuarility is used in the scheduler to round time and deadline. | ||||
* | Issue #19509: Finish implementation of check_hostname | Christian Heimes | 2013-12-05 | 1 | -11/+14 |
| | | | | The new asyncio package now supports the new feature and comes with additional tests for SSL. | ||||
* | asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() ↵ | Guido van Rossum | 2013-11-27 | 1 | -31/+51 |
| | | | | accept bytearray/memoryview too. Change some asserts with proper exceptions. | ||||
* | Keep asyncio working with Python 3.3 too. | Guido van Rossum | 2013-11-23 | 1 | -2/+9 |
| | |||||
* | Issue #19735: Implement private function ssl._create_stdlib_context() to | Christian Heimes | 2013-11-23 | 1 | -4/+2 |
| | | | | | create SSLContext objects in Python's stdlib module. It provides a single configuration point and makes use of SSLContext.load_default_certs(). | ||||
* | asyncio: Replace connection_refused() with error_received(). | Guido van Rossum | 2013-11-16 | 1 | -11/+6 |
| | |||||
* | asyncio: Better-looking errors when ssl module cannot be imported. In part ↵ | Guido van Rossum | 2013-11-01 | 1 | -12/+19 |
| | | | | by Arnaud Faure. | ||||
* | asyncio: Log a warning when eof_received() returns true and using ssl. | Guido van Rossum | 2013-11-01 | 1 | -1/+4 |
| | |||||
* | asyncio: Refactor ssl transport ready loop (Nikolay Kim). | Guido van Rossum | 2013-11-01 | 1 | -41/+53 |
| | |||||
* | asyncio: Add server_hostname as create_connection() argument, with secure ↵ | Guido van Rossum | 2013-11-01 | 1 | -2/+2 |
| | | | | default. | ||||
* | asyncio: Fold some long lines. | Guido van Rossum | 2013-11-01 | 1 | -1/+2 |
| | |||||
* | asyncio: Pause accepting whenever accept() returns certain errors. Fixes ↵ | Guido van Rossum | 2013-11-01 | 1 | -6/+15 |
| | | | | asyncio issue #78. | ||||
* | asyncio: When not closing the connection after receiving EOF, still remove ↵ | Guido van Rossum | 2013-10-30 | 1 | -1/+6 |
| | | | | the read handler. | ||||
* | Issue #19299: fix refleak test failures in test_asyncio | Antoine Pitrou | 2013-10-19 | 1 | -0/+1 |
| | |||||
* | Verify hostname if verify_mode is CERT_OPTIONAL too. | Guido van Rossum | 2013-10-19 | 1 | -1/+1 |
| | |||||
* | Write flow control for asyncio (includes asyncio.streams overhaul). | Guido van Rossum | 2013-10-18 | 1 | -14/+64 |
| | |||||
* | Important race condition fix for Tulip. | Guido van Rossum | 2013-10-18 | 1 | -33/+18 |
| | |||||
* | Rename Transport.pause/resume to pause_reading/pause_writing. Also relax ↵ | Guido van Rossum | 2013-10-18 | 1 | -7/+7 |
| | | | | timeout in test_call_later(). | ||||
* | Rename the logger to plain "logger". | Guido van Rossum | 2013-10-17 | 1 | -7/+7 |
| | |||||
* | Initial checkin of asyncio package (== Tulip, == PEP 3156). | Guido van Rossum | 2013-10-17 | 1 | -0/+769 |