commit | 7e5ef0a5713f968f6e942566c78bf57ffbef01de | [log] [tgz] |
---|---|---|
author | Diogo Dutra <diogodutradamata@gmail.com> | Tue Nov 10 19:12:52 2020 -0300 |
committer | GitHub <noreply@github.com> | Tue Nov 10 14:12:52 2020 -0800 |
tree | e7dcc62f4df41be1087ef1f313a132dd401161e2 | |
parent | a13b26cac1519dad7bbc8651de7b826df7389d75 [diff] |
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