[issue33403] asyncio.tasks.wait does not allow to set custom exception when return_when=FIRST_EXCEPTION

2018-05-15 Thread pyneda
New submission from pyneda <rogerpined...@gmail.com>: A possible use case (that at least I couldn't find how to solve) is the possibility to cancel a bunch of futures/coroutine objects which are being awaited using asyncio.tasks.wait() by one of the running coroutines when a task su

[issue33403] asyncio.tasks.wait does not allow to set custom exception when return_when=FIRST_EXCEPTION

2018-05-01 Thread pyneda
Change by pyneda <rogerpined...@gmail.com>: -- keywords: +patch pull_requests: +6374 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue33403] asyncio.tasks.wait does not allow to set custom exception when return_when=FIRST_EXCEPTION

2018-05-01 Thread pyneda
Change by pyneda <rogerpined...@gmail.com>: -- components: asyncio nosy: asvetlov, giampaolo.rodola, pyneda, yselivanov priority: normal severity: normal status: open title: asyncio.tasks.wait does not allow to set custom exception when return_when=FIRST_EXCEPTION type: enhan