]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837) (#123956)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Sep 2024 18:11:31 +0000 (20:11 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 18:11:31 +0000 (11:11 -0700)
commit951c7dba79a654d22d50205c181d86a207be181b
treeff3f1feb4c1d8c8ec7e23710df7d7f1ec46c543a
parentb4b182a84d0b349622c089c99cc3ab30cd485269
[3.13] gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837) (#123956)

gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837)

We don't want to add another API, since the recipe is straightforward and rarely needed.

The advantage is that we could backport this to the earliest Python version that has taskgroups (3.11, alas in security mode already, so we'll just do 3.12 and 3.13).
(cherry picked from commit ef05801ba0cbf090034df17e2a0420fb42c2d538)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Doc/library/asyncio-task.rst