Guido van Rossum added the comment: I think I agree with Johannes. If all children refuse to be cancelled because they are already done, the outer _GatheringFuture might as well refuse to be cancelled as well.
However I'm not sure I actually understand the mechanism whereby the calling Task ends up surviving, and Johannes' description appears garbled. Can anyone add some print statements to various parts and explain it here? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26923> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com