[issue34433] cancel all other pending child futures

2019-02-14 Thread Yury Selivanov
Yury Selivanov added the comment: This is a backwards incompatible change, unfortunately. Wait for the new TaskGroups API that will resolve this issue. -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python t

[issue34433] cancel all other pending child futures

2018-08-19 Thread tzongw
Change by tzongw : -- keywords: +patch pull_requests: +8298 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue34433] cancel all other pending child futures

2018-08-19 Thread tzongw
New submission from tzongw : In `tasks.gather`, when a child future throws an exception and `return_exceptions` is False, outer future will call `set_exception` while other child futures is still running. In this case, outer future call `_GatheringFuture.cancel' first to cancel all other pend