Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge 3.5 (issue #28371) | Yury Selivanov | 2016-10-05 | 1 | -0/+3 | |
|\ \ | |/ | ||||||
| * | Issue #28371: Deprecate passing asyncio.Handles to run_in_executor. | Yury Selivanov | 2016-10-05 | 1 | -0/+3 | |
| | | ||||||
* | | Misc asyncio improvements from upstream (merge 3.5->3.6) | Guido van Rossum | 2016-09-30 | 1 | -18/+10 | |
|\ \ | |/ | ||||||
| * | Misc asyncio improvements from upstream | Guido van Rossum | 2016-09-30 | 1 | -18/+10 | |
| | | ||||||
* | | Merge 3.5 (issue #28174) | Yury Selivanov | 2016-09-15 | 1 | -12/+13 | |
|\ \ | |/ | ||||||
| * | Issue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio) | Yury Selivanov | 2016-09-15 | 1 | -12/+13 | |
| | | | | | | | | Patch by Seth Michael Larson. | |||||
* | | Merge 3.5 (issue #27906) | Yury Selivanov | 2016-09-15 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Issue #27906: Fix socket accept exhaustion during high TCP traffic. | Yury Selivanov | 2016-09-15 | 1 | -1/+1 | |
| | | | | | | | | Patch by Kevin Conway. | |||||
| * | Another asyncio sync. | Yury Selivanov | 2016-09-15 | 1 | -4/+5 | |
| | | ||||||
| * | asyncio: Sync with the upstream | Yury Selivanov | 2016-09-15 | 1 | -0/+60 | |
| | | ||||||
* | | Merge 3.5 (asyncio) | Yury Selivanov | 2016-09-15 | 1 | -8/+16 | |
| | | ||||||
* | | merge | Raymond Hettinger | 2016-09-09 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Merge asyncio upstream. | Guido van Rossum | 2016-09-09 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #28003: Implement PEP 525 -- Asynchronous Generators. | Yury Selivanov | 2016-09-09 | 1 | -2/+55 | |
| | | ||||||
* | | Closes #27904: Improved logging statements to defer formatting until needed. | Vinay Sajip | 2016-08-31 | 1 | -2/+2 | |
| | | ||||||
* | | Merge 3.5 (issue #27392) | Yury Selivanov | 2016-07-12 | 1 | -4/+24 | |
|\ \ | |/ | ||||||
| * | Issue #27392: Add loop.connect_accepted_socket(). | Yury Selivanov | 2016-07-12 | 1 | -4/+24 | |
| | | | | | | | | Patch by Jim Fulton. | |||||
* | | Merge 3.5 (issue #27136, asyncio) | Yury Selivanov | 2016-06-08 | 1 | -69/+47 | |
|\ \ | |/ | ||||||
| * | Issue #27136: Fix DNS static resolution; don't use it in getaddrinfo | Yury Selivanov | 2016-06-08 | 1 | -69/+47 | |
| | | | | | | | | Patch by A. Jesse Jiryu Davis | |||||
* | | Merge 3.5 (asyncio) | Yury Selivanov | 2016-06-02 | 1 | -3/+19 | |
|\ \ | |/ | ||||||
| * | asyncio: Fix getaddrinfo to accept service names (for port) | Yury Selivanov | 2016-06-02 | 1 | -3/+19 | |
| | | | | | | | | Patch by A. Jesse Jiryu Davis | |||||
* | | Merge 3.5 (asyncio) | Yury Selivanov | 2016-06-02 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | asyncio: Support host=b'' for getaddrinfo | Yury Selivanov | 2016-06-02 | 1 | -1/+1 | |
| | | ||||||
* | | Merge 3.5 (asyncio) | Yury Selivanov | 2016-05-21 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | asyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info) | Yury Selivanov | 2016-05-21 | 1 | -1/+1 | |
| | | ||||||
* | | Merge 3.5 (asyncio) | Yury Selivanov | 2016-05-20 | 1 | -0/+5 | |
|\ \ | |/ | ||||||
| * | asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' arg | Yury Selivanov | 2016-05-20 | 1 | -0/+5 | |
| | | | | | | | | Patch by A. Jesse Jiryu Davis. | |||||
* | | Merge 3.5 (Issue #27041) | Yury Selivanov | 2016-05-16 | 1 | -7/+11 | |
|\ \ | |/ | ||||||
| * | Issue #27041: asyncio: Add loop.create_future method | Yury Selivanov | 2016-05-16 | 1 | -7/+11 | |
| | | ||||||
* | | Merge 3.5 (issue #27040) | Yury Selivanov | 2016-05-16 | 1 | -0/+5 | |
|\ \ | |/ | ||||||
| * | Issue #27040: Add loop.get_exception_handler method | Yury Selivanov | 2016-05-16 | 1 | -0/+5 | |
| | | ||||||
* | | Merge 3.5 (asyncio) | Victor Stinner | 2016-04-01 | 1 | -0/+6 | |
|\ \ | |/ | ||||||
| * | asyncio: Don't log ConnectionAbortedError | Victor Stinner | 2016-04-01 | 1 | -0/+6 | |
| | | | | | | | | | | Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows. | |||||
* | | Add a source parameter to warnings.warn() | Victor Stinner | 2016-03-22 | 1 | -1/+2 | |
|/ | | | | | | | | Issue #26604: * Add a new optional source parameter to _warnings.warn() and warnings.warn() * Modify asyncore, asyncio and _pyio modules to set the source parameter when logging a ResourceWarning warning | |||||
* | asyncio: Remove duplicate bind addresses in create_server. | Yury Selivanov | 2016-03-02 | 1 | -2/+5 | |
| | | | | Patch by Sebastien Bourdeauducq (issue #26338) | |||||
* | asyncio: Skip getaddrinfo if host is already resolved. | Yury Selivanov | 2015-12-17 | 1 | -39/+80 | |
| | | | | | | | | | | | | | getaddrinfo takes an exclusive lock on some platforms, causing clients to queue up waiting for the lock if many names are being resolved concurrently. Users may want to handle name resolution in their own code, for the sake of caching, using an alternate resolver, or to measure DNS duration separately from connection duration. Skip getaddrinfo if the "host" passed into create_connection is already resolved. See https://github.com/python/asyncio/pull/302 for details. Patch by A. Jesse Jiryu Davis. | |||||
* | Issue #25593: Change semantics of EventLoop.stop(). | Guido van Rossum | 2015-11-19 | 1 | -16/+9 | |
| | ||||||
* | Issue #23972: updates to asyncio datagram API. By Chris Laws. | Guido van Rossum | 2015-10-05 | 1 | -66/+108 | |
| | ||||||
* | Issue #23630, asyncio: host parameter of loop.create_server() can now be a | Victor Stinner | 2015-09-21 | 1 | -7/+28 | |
| | | | | sequence of strings. Patch written by Yann Sionneau. | |||||
* | asyncio: Sync with upstream (compat module) | Yury Selivanov | 2015-08-04 | 1 | -1/+2 | |
| | ||||||
* | asyncio: Sync with mainstream | Yury Selivanov | 2015-08-04 | 1 | -1/+1 | |
| | ||||||
* | asyncio: Make sure sys.set_coroutine_wrapper is called *only* when loop is ↵ | Yury Selivanov | 2015-05-12 | 1 | -35/+45 | |
| | | | | | | | | | | | | running. Previous approach of installing coroutine wrapper in loop.set_debug() and uninstalling it in loop.close() was very fragile. Most of asyncio tests do not call loop.close() at all. Since coroutine wrapper is a global setting, we have to make sure that it's only set when the loop is running, and is automatically unset when it stops running. Issue #24017. | |||||
* | asyncio: Support PEP 492. Issue #24017. | Yury Selivanov | 2015-05-12 | 1 | -9/+38 | |
| | ||||||
* | asyncio: async() function is deprecated in favour of ensure_future(). | Yury Selivanov | 2015-05-11 | 1 | -1/+1 | |
| | ||||||
* | Sync asyncio changes from the main repo. | Yury Selivanov | 2015-05-11 | 1 | -11/+33 | |
| | ||||||
* | asyncio: BaseEventLoop: rename _owner to _thread_id | Victor Stinner | 2015-02-05 | 1 | -6/+6 | |
| | ||||||
* | asyncio: Only call _check_resolved_address() in debug mode | Victor Stinner | 2015-02-04 | 1 | -16/+32 | |
| | | | | | | | | | | | | | | | | * _check_resolved_address() is implemented with getaddrinfo() which is slow * If available, use socket.inet_pton() instead of socket.getaddrinfo(), because it is much faster Microbenchmark (timeit) on Fedora 21 (Python 3.4, Linux 3.17, glibc 2.20) to validate the IPV4 address "127.0.0.1" or the IPv6 address "::1": * getaddrinfo() 10.4 usec per loop * inet_pton(): 0.285 usec per loop On glibc older than 2.14, getaddrinfo() always requests the list of all local IP addresses to the kernel (using a NETLINK socket). getaddrinfo() has other known issues, it's better to avoid it when it is possible. | |||||
* | Issue #23243, asyncio: Emit a ResourceWarning when an event loop or a transport | Victor Stinner | 2015-01-29 | 1 | -0/+11 | |
| | | | | is not explicitly closed. Close also explicitly transports in test_sslproto. | |||||
* | asyncio: sync with Tulip | Victor Stinner | 2015-01-27 | 1 | -1/+2 | |
| | | | | | | | | | | * Remove unused SSLProtocol._closing attribute * test_sslproto: skip test if ssl module is missing * Python issue #23208: Don't use the traceback of the current handle if we already know the traceback of the source. The handle may be more revelant, but having 3 tracebacks (handle, source, exception) becomes more difficult to read. The handle may be preferred later but it requires more work to make this choice. | |||||
* | Issue #23208, asyncio: Add BaseEventLoop._current_handle | Victor Stinner | 2015-01-26 | 1 | -6/+19 | |
| | | | | | | | | | In debug mode, BaseEventLoop._run_once() now sets the BaseEventLoop._current_handle attribute to the handle currently executed. In release mode or when no handle is executed, the attribute is None. BaseEventLoop.default_exception_handler() displays the traceback of the current handle if available. |