summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/runners.py
Commit message (Collapse)AuthorAgeFilesLines
* Mention loop_factory argument in docstring for asyncio.run() (#128288)Andrew Svetlov2024-12-271-0/+1
|
* gh-127949: deprecate `asyncio.set_event_loop` (#128218)Kumar Aditya2024-12-241-2/+2
| | | Deprecate `asyncio.set_event_loop` to be removed in Python 3.16.
* gh-120284: Enhance `asyncio.run` to accept awaitable objects (#120566)Ron Frederick2024-09-261-4/+13
| | | | Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* GH-99388: add `loop_factory` parameter to `asyncio.run` (#99462)Kumar Aditya2022-11-141-2/+2
|
* GH-82448: Add thread timeout for loop.shutdown_default_executor (#97561)Kumar Aditya2022-09-281-4/+9
| | | | Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* GH-95899: fix asyncio.Runner to call set_event_loop only once (#95900)Kumar Aditya2022-08-151-3/+5
|
* GH-95097: fix `asyncio.run` for tasks without `uncancel` method (#95211)Kumar Aditya2022-07-281-4/+5
| | | | Co-authored-by: Thomas Grainger <tagrain@gmail.com>
* GH-93896: AAlways set event loop in asyncio.run and IsolatedAsyncioTestCase ↵Kumar Aditya2022-07-061-0/+6
| | | | (#94593)
* gh-84623: Remove unused imports in stdlib (#93773)Victor Stinner2022-06-131-1/+0
|
* gh-91880 - fix typo (GH-92069)David Hewitt2022-04-301-1/+1
| | | | | https://github.com/python/cpython/issues/91880#issuecomment-1113914241 - With thanks to @MojoVampire for spotting this. Automerge-Triggered-By: GH:gvanrossum
* gh-91880: add try/except around `signal.signal` (#91881)David Hewitt2022-04-251-1/+7
| | | | Fixes gh-91880.
* bpo-39622: Interrupt the main asyncio task on Ctrl+C (GH-32105)Andrew Svetlov2022-03-301-1/+36
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* bpo-47062: Rename factory argument to loop_factory (GH-32113)Andrew Svetlov2022-03-251-5/+5
|
* bpo-47062: Implement asyncio.Runner context manager (GH-31799)Andrew Svetlov2022-03-241-18/+106
| | | Co-authored-by: Zachary Ware <zach@python.org>
* bpo-42392: Remove loop parameter from asyncio.tasks and asyncio.subprocess ↵Yurii Karabas2020-11-281-2/+1
| | | | (GH-23521)
* bpo-41696: Fix handling of debug mode in asyncio.run (#22069)Shantanu2020-09-031-2/+3
| | | | | | | | | | | * bpo-41696: Fix handling of debug mode in asyncio.run This allows PYTHONASYNCIODEBUG or -X dev to enable asyncio debug mode when using asyncio.run * 📜🤖 Added by blurb_it. Co-authored-by: hauntsaninja <> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* Fix and improve `asyncio.run()` docs (GH-16403)Kyle Stanley2019-10-011-5/+1
|
* bpo-38260: Add Docs on asyncio.run (GH-16337)Emmanuel Arias2019-09-251-0/+4
| | | | | | | | | | | | | Add docs about return and raise exception on asyncio.run https://bugs.python.org/issue38260 Automerge-Triggered-By: @asvetlov
* bpo-34037: Fix test_asyncio failure and add loop.shutdown_default_executor() ↵Kyle Stanley2019-09-191-0/+1
| | | | (GH-15735)
* bpo-32610: Fix asyncio.all_tasks() to return only pending tasks. (GH-7174)Yury Selivanov2018-05-281-2/+1
|
* bpo-32314: Fix asyncio.run() to cancel runinng tasks on shutdown (#5262)Yury Selivanov2018-01-211-0/+25
|
* bpo-32314: Implement asyncio.run() (#4852)Yury Selivanov2017-12-141-0/+48