SIGN IN SIGN UP

bpo-42140: Improve asyncio.wait function (GH-22938)

# Improve asyncio.wait function

The original code creates the futures set two times.
We can create this set before, avoiding the second creation.

This new behaviour [breaks the aiokafka library](https://github.com/aio-libs/aiokafka/pull/672), because it gives an iterator to that function, so the second iteration become empty.

Automerge-Triggered-By: GH:1st1
D
Diogo Dutra committed
7e5ef0a5713f968f6e942566c78bf57ffbef01de
Parent: a13b26c
Committed by GitHub <noreply@github.com> on 11/10/2020, 10:12:52 PM