[issue42140] asyncio.wait function creates futures set two times

Diogo Dutra report at bugs.python.org
Sat Oct 24 02:51:22 EDT 2020


New submission from Diogo Dutra <diogodutradamata at gmail.com>:

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

This python3.9 behaviour breaks the aiokafka library, because it gives an iterator to that function, so the second iteration become empty.

----------
components: asyncio
messages: 379522
nosy: asvetlov, dutradda, yselivanov
priority: normal
pull_requests: 21858
severity: normal
status: open
title: asyncio.wait function creates futures set two times
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42140>
_______________________________________


More information about the Python-bugs-list mailing list