https://github.com/python/cpython/commit/9dc22a1402bd30a0d91c356cbeb5f16e1f8340c8 commit: 9dc22a1402bd30a0d91c356cbeb5f16e1f8340c8 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 <[email protected]> date: 2026-09-11T18:46:22+05:30 summary:
[3.14] gh-156662: Note that TaskGroup.create_task() raises RuntimeError (GH-156663) (#157317) gh-156662: Note that TaskGroup.create_task() raises RuntimeError (GH-156663) (cherry picked from commit 26d9b25580159abeb69b80ae6fbf511385eb6e99) Co-authored-by: Timofei Ivankov <[email protected]> files: M Doc/library/asyncio-task.rst diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 7f4605ac36221a..17d02b7a8cf8bf 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -356,7 +356,7 @@ and reliable way to wait for all tasks in the group to finish. The signature matches that of :func:`asyncio.create_task`. If the task group is inactive (e.g. not yet entered, already finished, or in the process of shutting down), - we will close the given ``coro``. + we will close the given ``coro`` and raise :exc:`RuntimeError`. .. versionchanged:: 3.13 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
