summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/base_events.py
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-32418: Add get_loop() method on Server, AbstractServer classes (#4997)Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)2017-12-301-0/+3
| | | | | | * Add abstract get_loop() method to Server, AbstractServer classes. * Add test cases for get_loop() method in Server, AbstractServer classes * Add documentation for get_loop() method
* bpo-23749: Implement loop.start_tls() (#5039)Yury Selivanov2017-12-301-1/+44
|
* bpo-32415: Add asyncio.Task.get_loop() and Future.get_loop() (#4992)Yury Selivanov2017-12-231-1/+1
|
* bpo-29970: Make ssh_handshake_timeout None by default (#4939)Andrew Svetlov2017-12-201-6/+18
| | | | | * Make ssh_handshake_timeout None by default. * Raise ValueError if ssl_handshake_timeout is used without ssl. * Raise ValueError if ssl_handshake_timeout is not positive.
* bpo-29970: Add timeout for SSL handshake in asyncioNeil Aspinall2017-12-191-24/+39
| | | | 10 seconds by default.
* bpo-32355: Optimize asyncio.gather() (#4913)Yury Selivanov2017-12-191-5/+6
|
* bpo-27456: Simplify sock type checks (#4922)Yury Selivanov2017-12-191-26/+6
| | | | Recent sock.type fix (see bug 32331) makes sock.type checks simpler in asyncio.
* bpo-27456: Ensure TCP_NODELAY is set on linux (#4231)Yury Selivanov2017-12-161-21/+22
|
* bpo-32327: Convert asyncio functions documented as coroutines to coroutines. ↵Yury Selivanov2017-12-151-46/+39
| | | | (#4872)
* bpo-32262: Fix f-string (#4787)Yury Selivanov2017-12-111-1/+1
|
* bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775)Yury Selivanov2017-12-101-62/+60
|
* bpo-32193: Convert asyncio to async/await usage (#4753)Andrew Svetlov2017-12-081-69/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Convert asyncio/tasks.py to async/await * Convert asyncio/queues.py to async/await * Convert asyncio/test_utils.py to async/await * Convert asyncio/base_subprocess.py to async/await * Convert asyncio/subprocess.py to async/await * Convert asyncio/streams.py to async/await * Fix comments * Convert asyncio/locks.py to async/await * Convert asyncio.sleep to async def * Add a comment * Add missing news * Convert stubs from AbstrctEventLoop to async functions * Convert subprocess_shell/subprocess_exec * Convert connect_read_pipe/connect_write_pip to async/await syntax * Convert create_datagram_endpoint * Convert create_unix_server/create_unix_connection * Get rid of old style coroutines in unix_events.py * Convert selector_events.py to async/await * Convert wait_closed and create_connection * Drop redundant line * Convert base_events.py * Code cleanup * Drop redundant comments * Fix indentation * Add explicit tests for compatibility between old and new coroutines * Convert windows event loop to use async/await * Fix double awaiting of async function * Convert asyncio/locks.py * Improve docstring * Convert tests to async/await * Convert more tests * Convert more tests * Convert more tests * Convert tests * Improve test
* bpo-31245: asyncio: Fix typo, isistance => isinstance (#4594)Victor Stinner2017-11-271-1/+1
|
* bpo-32047: -X dev enables asyncio debug mode (#4418)Victor Stinner2017-11-201-2/+1
| | | | The new -X dev command line option now also enables asyncio debug mode.
* bpo-31970: Reduce performance overhead of asyncio debug mode. (#4314)Antoine Pitrou2017-11-071-0/+5
| | | | * bpo-31970: Reduce performance overhead of asyncio debug mode.
* bpo-31245: Asyncio unix socket datagram (#3164)Quentin Dawans2017-10-301-0/+6
|
* call remove_done_callback in finally section (#1688)jimmylai2017-05-231-1/+2
|
* bpo-29617: Remove Python 3.3 support from asyncio (GH-232)INADA Naoki2017-04-251-11/+6
|
* bpo-30144: Import collections ABC from collections.abc rather than ↵Serhiy Storchaka2017-04-241-1/+2
| | | | collections. (#1263)
* bpo-29762: More use "raise from None". (#569)Serhiy Storchaka2017-04-051-1/+1
| | | This hides unwanted implementation details from tracebacks.
* Remove unused imports.Serhiy Storchaka2016-12-161-1/+0
|
* 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
|\ \ | |/