[issue26923] asyncio.gather drops cancellation

Johannes Ebke report at bugs.python.org
Tue May 3 10:02:54 EDT 2016


Johannes Ebke added the comment:

Thank you for providing the relevant documentation link.

I just noticed that it should probably be clarified that in case the outer Future is cancelled, and all children that are not already done ignore the cancellation (a.k.a. catch the CancelledError), the cancellation of the outer Future does not continue.

This is different to the behaviour of asyncio.wait_for, which always raises a CancelledError.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26923>
_______________________________________


More information about the Python-bugs-list mailing list