Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40443: Remove unused imports in the stdlib (GH-19803) | Victor Stinner | 2020-04-30 | 1 | -1/+0 |
| | |||||
* | Fix typo from Lib/asyncio/events.py (GH-19410) | Galden | 2020-04-14 | 1 | -1/+1 |
| | |||||
* | bpo-38951: Use threading.main_thread() check in asyncio (GH-17433) | Hill Ma | 2019-12-05 | 1 | -1/+1 |
| | | | https://bugs.python.org/issue38951 | ||||
* | bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463) | idomic | 2019-10-03 | 1 | -2/+2 |
| | |||||
* | bpo-34037: Fix test_asyncio failure and add loop.shutdown_default_executor() ↵ | Kyle Stanley | 2019-09-19 | 1 | -0/+4 |
| | | | | (GH-15735) | ||||
* | bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952) | Serhiy Storchaka | 2019-08-08 | 1 | -12/+12 |
| | | | | They now return NotImplemented for unsupported type of the other operand. | ||||
* | bpo-32528: Make asyncio.CancelledError a BaseException. (GH-13528) | Yury Selivanov | 2019-05-27 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | This will address the common mistake many asyncio users make: an "except Exception" clause breaking Tasks cancellation. In addition to this change, we stop inheriting asyncio.TimeoutError and asyncio.InvalidStateError from their concurrent.futures.* counterparts. There's no point for these exceptions to share the inheritance chain. In 3.9 we'll focus on implementing supervisors and cancel scopes, which should allow better handling of all exceptions, including SystemExit and KeyboardInterrupt | ||||
* | bpo-33530: Implement Happy Eyeballs in asyncio, v2 (GH-7237) | twisteroid ambassador | 2019-05-05 | 1 | -1/+2 |
| | | | | | | | | | | Added two keyword arguments, `delay` and `interleave`, to `BaseEventLoop.create_connection`. Happy eyeballs is activated if `delay` is specified. We now have documentation for the new arguments. `staggered_race()` is in its own module, but not exported to the main asyncio package. https://bugs.python.org/issue33530 | ||||
* | bpo-34622: Extract asyncio exceptions into a separate module (GH-9141) | Andrew Svetlov | 2018-09-11 | 1 | -9/+2 |
| | |||||
* | bpo-34270: Make it possible to name asyncio tasks (GH-8547) | Alex Grönholm | 2018-08-08 | 1 | -1/+1 |
| | | | Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com> | ||||
* | bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321) | Yury Selivanov | 2018-06-04 | 1 | -3/+2 |
| | | | | | | | * 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) | ||||
* | Revert "bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208)" (#7232) | Yury Selivanov | 2018-05-30 | 1 | -7/+0 |
| | | | This reverts commit 5d97b7bcc19496617bf8c448d2f149cc28c73bc7. | ||||
* | bpo-22087: Fix Policy.get_event_loop() to detect fork (GH-7208) | Yury Selivanov | 2018-05-29 | 1 | -0/+7 |
| | | | | Original patch by Dan O'Reilly. | ||||
* | Fix senfile typo (#6265) | Sam Dunster | 2018-03-28 | 1 | -1/+1 |
| | | | * Also in docs | ||||
* | Implement TimerHandle.when() (#5473) | Andrew Svetlov | 2018-02-01 | 1 | -0/+8 |
| | |||||
* | bpo-32622: Implement loop.sendfile() (#5271) | Andrew Svetlov | 2018-01-27 | 1 | -0/+8 |
| | |||||
* | bpo-32662: Implement Server.start_serving() and Server.serve_forever() (#5312) | Yury Selivanov | 2018-01-25 | 1 | -5/+43 |
| | | | | | | | | | | | | | * 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 | -5/+10 |
| | |||||
* | bpo-32410: Make SendfileNotAvailableError exception public (#5243) | Andrew Svetlov | 2018-01-19 | 1 | -1/+9 |
| | |||||
* | bpo-32410: Implement loop.sock_sendfile() (#4976) | Andrew Svetlov | 2018-01-16 | 1 | -0/+4 |
| | |||||
* | bpo-32418: Postfix, raise NotImplementdError and close resources in tests ↵ | Andrew Svetlov | 2017-12-30 | 1 | -3/+3 |
| | | | | (#5052) | ||||
* | bpo-32418: Add get_loop() method on Server, AbstractServer classes (#4997) | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 2017-12-30 | 1 | -0/+4 |
| | | | | | | * 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 | -0/+11 |
| | |||||
* | bpo-29970: Make ssh_handshake_timeout None by default (#4939) | Andrew Svetlov | 2017-12-20 | 1 | -5/+4 |
| | | | | | * 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 | -15/+31 |
| | | | | 10 seconds by default. | ||||
* | bpo-32311: Implement asyncio.create_task() shortcut (#4848) | Andrew Svetlov | 2017-12-15 | 1 | -76/+7 |
| | | | | | * Implement functionality * Add documentation | ||||
* | bpo-32296: Implement asyncio.get_event_loop and _get_running_loop in C. (#4827) | Yury Selivanov | 2017-12-13 | 1 | -0/+27 |
| | | | | | | | | asyncio.get_event_loop(), and, subsequently asyncio._get_running_loop() are one of the most frequently executed functions in asyncio. They also can't be sped up by third-party event loops like uvloop. When implemented in C they become 4x faster. | ||||
* | Add asyncio.get_running_loop() function. (#4782) | Yury Selivanov | 2017-12-11 | 1 | -1/+13 |
| | |||||
* | bpo-32262: Fix codestyle; use f-strings formatting where necessary. (#4775) | Yury Selivanov | 2017-12-10 | 1 | -20/+23 |
| | |||||
* | bpo-32193: Convert asyncio to async/await usage (#4753) | Andrew Svetlov | 2017-12-08 | 1 | -35/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-32066: Support pathlib.Path in create_unix_connection; sock arg should ↵ | Yury Selivanov | 2017-11-20 | 1 | -2/+2 |
| | | | | be optional (#4447) | ||||
* | bpo-31970: Reduce performance overhead of asyncio debug mode. (#4314) | Antoine Pitrou | 2017-11-07 | 1 | -1/+20 |
| | | | | * bpo-31970: Reduce performance overhead of asyncio debug mode. | ||||
* | Add asyncio.Handle.cancelled() method (#2388) | Marat Sharafutdinov | 2017-11-07 | 1 | -0/+3 |
| | |||||
* | bpo-31245: Asyncio unix socket datagram (#3164) | Quentin Dawans | 2017-10-30 | 1 | -2/+2 |
| | |||||
* | bpo-31819: Add AbstractEventLoop.sock_recv_into() (#4051) | Antoine Pitrou | 2017-10-19 | 1 | -0/+3 |
| | | | | | | | | * bpo-31819: Add AbstractEventLoop.sock_recv_into() * Add NEWS * Add doc | ||||
* | bpo-31350: Optimize get_event_loop and _get_running_loop (#3347) | jimmylai | 2017-09-06 | 1 | -6/+4 |
| | | | | | | | | | | | | | | | | * call remove_done_callback in finally section * Optimize get_event_loop and _get_running_loop * rename _loop_pid as loop_pid and add blurb news * rename _loop_pid as loop_pid and add blurb news * add back _RunningLoop * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst * Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst | ||||
* | bpo-29617: Remove Python 3.3 support from asyncio (GH-232) | INADA Naoki | 2017-04-25 | 1 | -7/+2 |
| | |||||
* | asyncio: Optimize _get_running_loop() to call getpid() only when there's a loop | Yury Selivanov | 2017-03-03 | 1 | -2/+3 |
| | |||||
* | bpo-29703: asyncio: Fix creating new event loops in child processes. (#404) | Yury Selivanov | 2017-03-03 | 1 | -1/+7 |
| | |||||
* | Issue #28613: Expose asyncio._get_running_loop() and _set_running_loop() | Yury Selivanov | 2016-11-08 | 1 | -0/+1 |
| | |||||
* | Issue #28613: Fix get_event_loop() to return the current loop | Yury Selivanov | 2016-11-04 | 1 | -1/+35 |
| | | | | when called from coroutines or callbacks. | ||||
* | Issue #28600: Optimize loop.call_soon(). | Yury Selivanov | 2016-11-03 | 1 | -1/+0 |
| | | | | | Run expensive type checks only in debug mode. In addition, stop supporting passing handles to loop.run_in_executor. | ||||
* | Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__. | Yury Selivanov | 2016-09-15 | 1 | -13/+14 |
| | | | | Patch by iceboy. | ||||
* | asyncio: Sync with the upstream | Yury Selivanov | 2016-09-15 | 1 | -0/+4 |
| | |||||
* | Issue #27041: asyncio: Add loop.create_future method | Yury Selivanov | 2016-05-16 | 1 | -0/+3 |
| | |||||
* | Issue #27040: Add loop.get_exception_handler method | Yury Selivanov | 2016-05-16 | 1 | -0/+3 |
| | |||||
* | Issue #23972: updates to asyncio datagram API. By Chris Laws. | Guido van Rossum | 2015-10-05 | 1 | -2/+38 |
| | |||||
* | Issue #23630, asyncio: host parameter of loop.create_server() can now be a | Victor Stinner | 2015-09-21 | 1 | -1/+2 |
| | | | | sequence of strings. Patch written by Yann Sionneau. | ||||
* | asyncio: Add asyncio.compat module | Victor Stinner | 2015-07-25 | 1 | -4/+3 |
| | | | | | Move compatibility helpers for the different Python versions to a new asyncio.compat module. | ||||
* | Sync asyncio changes from the main repo. | Yury Selivanov | 2015-05-11 | 1 | -1/+9 |
| |