]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837) (#123957)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Sep 2024 15:10:05 +0000 (17:10 +0200)
committerGitHub <noreply@github.com>
Wed, 25 Sep 2024 15:10:05 +0000 (20:40 +0530)
commit13565f15805c20d3aba42a123cdeeda91e67a603
tree9840d8bac408e9377a3da17aad8c1ac5d7080b39
parent306368c9c881040e383fa9f43ee671620ff133fc
[3.12] gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837) (#123957)

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