Staging
v0.5.1
https://github.com/python/cpython
Revision 33922cb0aa0c81ebff91ab4e938a58dfec2acf19 authored by Miss Islington (bot) on 10 November 2020, 23:10:57 UTC, committed by GitHub on 10 November 2020, 23:10:57 UTC

GH- 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
(cherry picked from commit 7e5ef0a5713f968f6e942566c78bf57ffbef01de)

Co-authored-by: Diogo Dutra <diogodutradamata@gmail.com>
1 parent f8bea0a
Raw File
Tip revision: 33922cb0aa0c81ebff91ab4e938a58dfec2acf19 authored by Miss Islington (bot) on 10 November 2020, 23:10:57 UTC
bpo-42140: Improve asyncio.wait function (GH-22938)
Tip revision: 33922cb
netlify.toml
[build]
    base = "Doc/"
    command = "make html"
    publish = "Doc/build/html"
back to top