This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author achimnol
Recipients achimnol, asvetlov, gvanrossum, tinchester, yselivanov
Date 2022-03-07.05:40:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646631600.92.0.835167303273.issue46843@roundup.psfhosted.org>
In-reply-to
Content
I have released the new version of aiotools with rewritten TaskGroup and PersistentTaskGroup.

https://aiotools.readthedocs.io/en/latest/aiotools.taskgroup.html

aiotools.TaskGroup has small additions to asyncio.TaskGroup: a naming API and `current_taskgroup` context variable.

aiotools.PersistentTaskGroup is what I've described here, highlighting both async-with usage and long-lived object usage and `all_ptaskgroups()` classmethod for the monitoring purpose except the two-phase graceful shutdown (future TODO).
History
Date User Action Args
2022-03-07 05:40:00achimnolsetrecipients: + achimnol, gvanrossum, asvetlov, yselivanov, tinchester
2022-03-07 05:40:00achimnolsetmessageid: <1646631600.92.0.835167303273.issue46843@roundup.psfhosted.org>
2022-03-07 05:40:00achimnollinkissue46843 messages
2022-03-07 05:40:00achimnolcreate