summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/base_events.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge 3.5 (issue #28371)Yury Selivanov2016-10-051-0/+3
|\ \ | |/
| * Issue #28371: Deprecate passing asyncio.Handles to run_in_executor.Yury Selivanov2016-10-051-0/+3
| |
* | Misc asyncio improvements from upstream (merge 3.5->3.6)Guido van Rossum2016-09-301-18/+10
|\ \ | |/
| * Misc asyncio improvements from upstreamGuido van Rossum2016-09-301-18/+10
| |
* | Merge 3.5 (issue #28174)Yury Selivanov2016-09-151-12/+13
|\ \ | |/
| * Issue #28174: Handle when SO_REUSEPORT isn't properly supported (asyncio)Yury Selivanov2016-09-151-12/+13
| | | | | | | | Patch by Seth Michael Larson.
* | Merge 3.5 (issue #27906)Yury Selivanov2016-09-151-1/+1
|\ \ | |/
| * Issue #27906: Fix socket accept exhaustion during high TCP traffic.Yury Selivanov2016-09-151-1/+1
| | | | | | | | Patch by Kevin Conway.
| * Another asyncio sync.Yury Selivanov2016-09-151-4/+5
| |
| * asyncio: Sync with the upstreamYury Selivanov2016-09-151-0/+60
| |
* | Merge 3.5 (asyncio)Yury Selivanov2016-09-151-8/+16
| |
* | mergeRaymond Hettinger2016-09-091-1/+1
|\ \ | |/
| * Merge asyncio upstream.Guido van Rossum2016-09-091-1/+1
| |
* | Issue #28003: Implement PEP 525 -- Asynchronous Generators.Yury Selivanov2016-09-091-2/+55
| |
* | Closes #27904: Improved logging statements to defer formatting until needed.Vinay Sajip2016-08-311-2/+2
| |
* | Merge 3.5 (issue #27392)Yury Selivanov2016-07-121-4/+24
|\ \ | |/
| * Issue #27392: Add loop.connect_accepted_socket().Yury Selivanov2016-07-121-4/+24
| | | | | | | | Patch by Jim Fulton.
* | Merge 3.5 (issue #27136, asyncio)Yury Selivanov2016-06-081-69/+47
|\ \ | |/
| * Issue #27136: Fix DNS static resolution; don't use it in getaddrinfoYury Selivanov2016-06-081-69/+47
| | | | | | | | Patch by A. Jesse Jiryu Davis
* | Merge 3.5 (asyncio)Yury Selivanov2016-06-021-3/+19
|\ \ | |/
| * asyncio: Fix getaddrinfo to accept service names (for port)Yury Selivanov2016-06-021-3/+19
| | | | | | | | Patch by A. Jesse Jiryu Davis
* | Merge 3.5 (asyncio)Yury Selivanov2016-06-021-1/+1
|\ \ | |/
| * asyncio: Support host=b'' for getaddrinfoYury Selivanov2016-06-021-1/+1
| |
* | Merge 3.5 (asyncio)Yury Selivanov2016-05-211-1/+1
|\ \ | |/
| * asyncio: Fix BytesWarning (use typed=True in lru_cache for _ipaddr_info)Yury Selivanov2016-05-211-1/+1
| |
* | Merge 3.5 (asyncio)Yury Selivanov2016-05-201-0/+5
|\ \ | |/
| * asyncio: Fix getaddrinfo to accept None/str/bytes for 'port' argYury Selivanov2016-05-201-0/+5
| | | | | | | | Patch by A. Jesse Jiryu Davis.
* | Merge 3.5 (Issue #27041)Yury Selivanov2016-05-161-7/+11
|\ \ | |/
| * Issue #27041: asyncio: Add loop.create_future methodYury Selivanov2016-05-161-7/+11
| |
* | Merge 3.5 (issue #27040)Yury Selivanov2016-05-161-0/+5
|\ \ | |/
| * Issue #27040: Add loop.get_exception_handler methodYury Selivanov2016-05-161-0/+5
| |
* | Merge 3.5 (asyncio)Victor Stinner2016-04-011-0/+6
|\ \ | |/
| * asyncio: Don't log ConnectionAbortedErrorVictor Stinner2016-04-011-0/+6
| | | | | | | | | | Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows.
* | Add a source parameter to warnings.warn()Victor Stinner2016-03-221-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 Selivanov2016-03-021-2/+5
| | | | Patch by Sebastien Bourdeauducq (issue #26338)
* asyncio: Skip getaddrinfo if host is already resolved.Yury Selivanov2015-12-171-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 Rossum2015-11-191-16/+9
|
* Issue #23972: updates to asyncio datagram API. By Chris Laws.Guido van Rossum2015-10-051-66/+108
|
* Issue #23630, asyncio: host parameter of loop.create_server() can now be aVictor Stinner2015-09-211-7/+28
| | | | sequence of strings. Patch written by Yann Sionneau.
* asyncio: Sync with upstream (compat module)Yury Selivanov2015-08-041-1/+2
|
* asyncio: Sync with mainstreamYury Selivanov2015-08-041-1/+1
|
* asyncio: Make sure sys.set_coroutine_wrapper is called *only* when loop is ↵Yury Selivanov2015-05-121-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 Selivanov2015-05-121-9/+38
|
* asyncio: async() function is deprecated in favour of ensure_future().Yury Selivanov2015-05-111-1/+1
|
* Sync asyncio changes from the main repo.Yury Selivanov2015-05-111-11/+33
|
* asyncio: BaseEventLoop: rename _owner to _thread_idVictor Stinner2015-02-051-6/+6
|
* asyncio: Only call _check_resolved_address() in debug modeVictor Stinner2015-02-041-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 transportVictor Stinner2015-01-291-0/+11
| | | | is not explicitly closed. Close also explicitly transports in test_sslproto.
* asyncio: sync with TulipVictor Stinner2015-01-271-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_handleVictor Stinner2015-01-261-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.