Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-27500: Fix static version of getaddrinfo to resolve IPv6 (GH-7993) | Yury Selivanov | 2018-06-29 | 1 | -4/+10 |
| | |||||
* | bpo-30805: Avoid race condition with debug logging (GH-7545) | Yury Selivanov | 2018-06-08 | 1 | -2/+4 |
| | | | Supersedes https://github.com/python/cpython/pull/2490 | ||||
* | bpo-33769: start_tls: Fix error message; cancel callbacks on error (GH-7403) | Yury Selivanov | 2018-06-05 | 1 | -3/+5 |
| | | | In addition to that, mark SSLTransport as "closed" in its "abort()" method to prevent bogus warnings. | ||||
* | bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321) | Yury Selivanov | 2018-06-04 | 1 | -1/+6 |
| | | | | | | | * Fix AttributeError (not all SSL exceptions have 'errno' attribute) * Increase default handshake timeout from 10 to 60 seconds * Make sure start_tls can be cancelled correctly * Make sure any error in SSLProtocol gets propagated (instead of just being logged) | ||||
* | bpo-33674: Pause the transport as early as possible (#7192) | Yury Selivanov | 2018-05-29 | 1 | -2/+5 |
| | |||||
* | bpo-32410: Avoid blocking on file IO in sendfile fallback code (GH-7172) | Yury Selivanov | 2018-05-28 | 1 | -2/+5 |
| | |||||
* | bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130) | Yury Selivanov | 2018-05-28 | 1 | -1/+6 |
| | | | | | | | | | | | In this commit: * Support BufferedProtocol in set_protocol() and start_tls() * Fix proactor to cancel readers reliably * Update tests to be compatible with OpenSSL 1.1.1 * Clarify BufferedProtocol docs * Bump TLS tests timeouts to 60 seconds; eliminate possible race from start_serving * Rewrite test_start_tls_server_1 | ||||
* | bpo-32327: Revert loop.run_in_executor behaviour: return a Future. (#5392) | Yury Selivanov | 2018-01-28 | 1 | -2/+2 |
| | | | | I've run some tests on 3.7 asyncio and it appears that too many things assume that run_in_executor returns a Future. | ||||
* | bpo-32622: Enforce sendfile fallback policy for FALLBACK transports (#5364) | Yury Selivanov | 2018-01-27 | 1 | -1/+6 |
| | |||||
* | bpo-32622: Implement loop.sendfile() (#5271) | Andrew Svetlov | 2018-01-27 | 1 | -0/+142 |
| | |||||
* | bpo-32662: Implement Server.start_serving() and Server.serve_forever() (#5312) | Yury Selivanov | 2018-01-25 | 1 | -20/+82 |
| | | | | | | | | | | | | | * bpo-32662: Implement Server.start_serving() and Server.serve_forever() New methods: * Server.start_serving(), * Server.serve_forever(), and * Server.is_serving(). Add 'start_serving' keyword parameter to loop.create_server() and loop.create_unix_server(). | ||||
* | bpo-32436: Implement PEP 567 (#5027) | Yury Selivanov | 2018-01-23 | 1 | -10/+11 |
| | |||||
* | bpo-32314: Fix asyncio.run() to cancel runinng tasks on shutdown (#5262) | Yury Selivanov | 2018-01-21 | 1 | -15/+10 |
| | |||||
* | bpo-32591: Add native coroutine origin tracking (#5250) | Nathaniel J. Smith | 2018-01-21 | 1 | -33/+16 |
| | | | | | | * Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth * Use coroutine origin information in the unawaited coroutine warning * Stop using set_coroutine_wrapper in asyncio debug mode * In BaseEventLoop.set_debug, enable debugging in the correct thread | ||||
* | bpo-32410: Make SendfileNotAvailableError exception public (#5243) | Andrew Svetlov | 2018-01-19 | 1 | -11/+6 |
| | |||||
* | bpo-32410: Implement loop.sock_sendfile() (#4976) | Andrew Svetlov | 2018-01-16 | 1 | -0/+70 |
| | |||||
* | bpo-32418: Add get_loop() method on Server, AbstractServer classes (#4997) | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 2017-12-30 | 1 | -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 Selivanov | 2017-12-30 | 1 | -1/+44 |
| | |||||
* | bpo-32415: Add asyncio.Task.get_loop() and Future.get_loop() (#4992) | Yury Selivanov | 2017-12-23 | 1 | -1/+1 |
| | |||||
* | bpo-29970: Make ssh_handshake_timeout None by default (#4939) | Andrew Svetlov | 2017-12-20 | 1 | -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 asyncio | Neil Aspinall | 2017-12-19 | 1 | -24/+39 |
| | | | | 10 seconds by default. | ||||
* | bpo-32355: Optimize asyncio.gather() (#4913) | Yury Selivanov | 2017-12-19 | 1 | -5/+6 |
| | |||||
* | bpo-27456: Simplify sock type checks (#4922) | Yury Selivanov | 2017-12-19 | 1 | -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 Selivanov | 2017-12-16 | 1 | -21/+22 |
| | |||||
* | bpo-32327: Convert asyncio functions documented as coroutines to coroutines. ↵ | Yury Selivanov | 2017-12-15 | 1 | -46/+39 |
| | | | | (#4872) | ||||
* | bpo-32262: Fix f-string (#4787) | Yury Selivanov | 2017-12-11 | 1 | -1/+1 |
| | |||||
* | bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775) | Yury Selivanov | 2017-12-10 | 1 | -62/+60 |
| | |||||
* | bpo-32193: Convert asyncio to async/await usage (#4753) | Andrew Svetlov | 2017-12-08 | 1 | -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 Stinner | 2017-11-27 | 1 | -1/+1 |
| | |||||
* | bpo-32047: -X dev enables asyncio debug mode (#4418) | Victor Stinner | 2017-11-20 | 1 | -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 Pitrou | 2017-11-07 | 1 | -0/+5 |
| | | | | * bpo-31970: Reduce performance overhead of asyncio debug mode. | ||||
* | bpo-31245: Asyncio unix socket datagram (#3164) | Quentin Dawans | 2017-10-30 | 1 | -0/+6 |
| | |||||
* | call remove_done_callback in finally section (#1688) | jimmylai | 2017-05-23 | 1 | -1/+2 |
| | |||||
* | bpo-29617: Remove Python 3.3 support from asyncio (GH-232) | INADA Naoki | 2017-04-25 | 1 | -11/+6 |
| | |||||
* | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -1/+2 |
| | | | | collections. (#1263) | ||||
* | bpo-29762: More use "raise from None". (#569) | Serhiy Storchaka | 2017-04-05 | 1 | -1/+1 |
| | | | This hides unwanted implementation details from tracebacks. | ||||
* | Remove unused imports. | Serhiy Storchaka | 2016-12-16 | 1 | -1/+0 |
| | |||||
* | Merge 3.5 (issue #28652) | Yury Selivanov | 2016-11-21 | 1 | -12/+10 |
|\ | |||||
| * | Issue #28652: Partially rollback previous changes | Yury Selivanov | 2016-11-21 | 1 | -12/+10 |
| | | | | | | | | Allow AF_UNIX in create_server & create_connection | ||||
* | | Merge 3.5 (issue #28652) | Yury Selivanov | 2016-11-09 | 1 | -11/+45 |
|\ \ | |/ | |||||
| * | Issue #28652: Make loop methods reject socket kinds they do not support. | Yury Selivanov | 2016-11-09 | 1 | -11/+45 |
| | | |||||
* | | Merge 3.5 (issue #28613) | Yury Selivanov | 2016-11-04 | 1 | -1/+6 |
|\ \ | |/ | |||||
| * | Issue #28613: Fix get_event_loop() to return the current loop | Yury Selivanov | 2016-11-04 | 1 | -1/+6 |
| | | | | | | | | when called from coroutines or callbacks. | ||||
| * | asyncio: Sync with upstream | Yury Selivanov | 2016-11-03 | 1 | -0/+3 |
| | | |||||
* | | Merge 3.5 (issue #28600) | Yury Selivanov | 2016-11-03 | 1 | -21/+19 |
|\ \ | |/ | |||||
| * | Issue #28600: Optimize loop.call_soon(). | Yury Selivanov | 2016-11-03 | 1 | -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 Selivanov | 2016-10-28 | 1 | -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 Selivanov | 2016-10-21 | 1 | -4/+1 |
|\ \ | |/ | |||||
| * | Issue #26796: Don't configure the number of workers for default threadpool ↵ | Yury Selivanov | 2016-10-21 | 1 | -4/+1 |
| | | | | | | | | | | | | executor. Initial patch by Hans Lawrenz. | ||||
* | | Issue #28500: Fix asyncio to handle async gens GC from another thread. | Yury Selivanov | 2016-10-21 | 1 | -0/+3 |
| | |