[issue32754] feature request: asyncio.gather/wait cancel children on first exception

2022-03-30 Thread Irit Katriel
Change by Irit Katriel : -- stage: -> resolved status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32754] feature request: asyncio.gather/wait cancel children on first exception

2022-03-21 Thread Irit Katriel
Irit Katriel added the comment: Task groups are implemented under Issue46752. -- nosy: +iritkatriel resolution: -> duplicate status: open -> pending superseder: -> Introduce task groups to asyncio and change task cancellation semantics ___

[issue32754] feature request: asyncio.gather/wait cancel children on first exception

2018-02-02 Thread Yury Selivanov
Yury Selivanov added the comment: I think it's a good idea and I wanted to implement it by copying TaskGroups from curio in 3.7. But then I saw Trio's nurseries and I have a few ideas about slightly different design inspired by both curio and Trio :) I have some very

[issue32754] feature request: asyncio.gather/wait cancel children on first exception

2018-02-02 Thread Alexander Mohr
New submission from Alexander Mohr : currently gather/wait allow you to return on the first exception and leave the children executing. A very common use case that I have is of launching multiple tasks, and if any of them fail, then all should fail..otherwise the other