diff options
author | Diogo Dutra <diogodutradamata@gmail.com> | 2020-11-10 22:12:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 22:12:52 (GMT) |
commit | 7e5ef0a5713f968f6e942566c78bf57ffbef01de (patch) | |
tree | e7dcc62f4df41be1087ef1f313a132dd401161e2 /Python/thread.c | |
parent | a13b26cac1519dad7bbc8651de7b826df7389d75 (diff) | |
download | cpython-7e5ef0a5713f968f6e942566c78bf57ffbef01de.zip cpython-7e5ef0a5713f968f6e942566c78bf57ffbef01de.tar.gz cpython-7e5ef0a5713f968f6e942566c78bf57ffbef01de.tar.bz2 |
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
Diffstat (limited to 'Python/thread.c')
0 files changed, 0 insertions, 0 deletions