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-02-27.16:40:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645980041.04.0.565562712444.issue46843@roundup.psfhosted.org>
In-reply-to
Content
I have updated the PersistentTaskGroup implementation referring asyncio.TaskGroup and added more detailed test cases, which works with the latest Python 3.11 GitHub checkout.

https://github.com/achimnol/aiotools/pull/36/files

Please have a look at the class docstring.
There are two different usage: async context manager vs. attributes of long-lived objects.

One of the point is to "revive" asyncio.gather() with return_exceptions=True but let it handle/report exceptions immediately with customizable exception handler.

Currently two-phase shutdown is not implemented yet as I'm still thinking about how to adapt the current implementation.
History
Date User Action Args
2022-02-27 16:40:41achimnolsetrecipients: + achimnol, gvanrossum, asvetlov, yselivanov, tinchester
2022-02-27 16:40:41achimnolsetmessageid: <1645980041.04.0.565562712444.issue46843@roundup.psfhosted.org>
2022-02-27 16:40:41achimnollinkissue46843 messages
2022-02-27 16:40:40achimnolcreate