[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 : 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 succeded or a specific cond

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

2018-05-01 Thread pyneda
Change by pyneda : -- keywords: +patch pull_requests: +6374 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33403> ___ ___ Python-

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

2018-05-01 Thread pyneda
Change by pyneda : -- 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: enhancement versions: Python 3.8