Message413885
The main benefit is that any legacy code that I cannot modify can be upgraded to TaskGroup-based codes, which offers a better machinary for exception handling and propagation.
There may be different ways to visit this issue: allow replacing the task factory in asyncio at runtime. Then I could just implement my own snippet to transfer the "ownership" of the task to a specific task group. |
|
Date |
User |
Action |
Args |
2022-02-24 06:54:03 | achimnol | set | recipients:
+ achimnol, gvanrossum, asvetlov, yselivanov |
2022-02-24 06:54:03 | achimnol | set | messageid: <1645685643.58.0.0674662017083.issue46844@roundup.psfhosted.org> |
2022-02-24 06:54:03 | achimnol | link | issue46844 messages |
2022-02-24 06:54:03 | achimnol | create | |
|