bpo-33413: asyncio.gather without a special Future by tecki · Pull Request #6694 · python/cpython
added 3 commits
May 2, 2018 10:39if a gather whose futures are already all done, but didn't get the chance to return yet gets cancelled, it still has to propagate that cancellation up the task chain. In the past the test tests a proxy to that, some behavior of a _GatheringFuture that will lead to this propagation. This test now tests the real thing: we test that the cancellation is propagated.
in the past, a special _GatheringFuture inherited from Future. This is very archaic. Now we simply use a Task.
tecki
mannequin
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters