summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/base_events.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.6] call remove_done_callback in finally section (GH-1688) (#1755)Łukasz Langa2017-05-231-1/+2
| | | (cherry picked from commit 21b3e04c13212b29e8c35ffc36eed8603fde08f4)
* Merge 3.5 (issue #28652)Yury Selivanov2016-11-211-12/+10
|\
| * Issue #28652: Partially rollback previous changesYury Selivanov2016-11-211-12/+10
| | | | | | | | Allow AF_UNIX in create_server & create_connection
* | Merge 3.5 (issue #28652)Yury Selivanov2016-11-091-11/+45
|\ \ | |/
| * Issue #28652: Make loop methods reject socket kinds they do not support.Yury Selivanov2016-11-091-11/+45
| |
* | Merge 3.5 (issue #28613)Yury Selivanov2016-11-041-1/+6
|\ \ | |/
| * Issue #28613: Fix get_event_loop() to return the current loopYury Selivanov2016-11-041-1/+6
| | | | | | | | when called from coroutines or callbacks.
| * asyncio: Sync with upstreamYury Selivanov2016-11-031-0/+3
| |
* | Merge 3.5 (issue #28600)Yury Selivanov2016-11-031-21/+19
|\ \ | |/
| * Issue #28600: Optimize loop.call_soon().Yury Selivanov2016-11-031-21/+19
| | | | | | | | | | Run expensive type checks only in debug mode. In addition, stop supporting passing handles to loop.run_in_executor.
* | Issue #28544: Implement asyncio.Task in C.Yury Selivanov2016-10-281-1/+1
| | | | | | | | | | | | | | | | This implementation provides additional 10-20% speed boost for asyncio programs. The patch also fixes _asynciomodule.c to use Arguments Clinic, and makes '_schedule_callbacks' an overridable method (as it was in 3.5).
* | Merge 3.5 (issue #26796)Yury Selivanov2016-10-211-4/+1
|\ \ | |/
| * Issue #26796: Don't configure the number of workers for default threadpool ↵Yury Selivanov2016-10-211-4/+1
| | | | | | | | | | | | executor. Initial patch by Hans Lawrenz.
* | Issue #28500: Fix asyncio to handle async gens GC from another thread.Yury Selivanov2016-10-211-0/+3
| |
* | 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.