Staging
v0.8.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
History
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
File Mode Size
mime
__init__.py -rw-r--r-- 1.7 KB
_encoded_words.py -rw-r--r-- 8.3 KB
_header_value_parser.py -rw-r--r-- 104.5 KB
_parseaddr.py -rw-r--r-- 17.2 KB
_policybase.py -rw-r--r-- 14.7 KB
architecture.rst -rw-r--r-- 9.3 KB
base64mime.py -rw-r--r-- 3.5 KB
charset.py -rw-r--r-- 16.7 KB
contentmanager.py -rw-r--r-- 10.4 KB
encoders.py -rw-r--r-- 1.7 KB
errors.py -rw-r--r-- 3.6 KB
feedparser.py -rw-r--r-- 22.2 KB
generator.py -rw-r--r-- 19.7 KB
header.py -rw-r--r-- 23.5 KB
headerregistry.py -rw-r--r-- 20.1 KB
iterators.py -rw-r--r-- 2.1 KB
message.py -rw-r--r-- 46.0 KB
parser.py -rw-r--r-- 4.9 KB
policy.py -rw-r--r-- 10.1 KB
quoprimime.py -rw-r--r-- 9.6 KB
utils.py -rw-r--r-- 13.0 KB

back to top