[issue44176] asyncio.as_completed() raises TypeError when the first supplied parameter is a generator that yields awaitables

2021-05-18 Thread Alex DeLorenzo
Change by Alex DeLorenzo : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44176] asyncio.as_completed() raises TypeError when the first supplied parameter is a generator that yields awaitables

2021-05-18 Thread Alex DeLorenzo
Change by Alex DeLorenzo : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44176] asyncio.as_completed() raises TypeError when the first supplied parameter is a generator that yields awaitables

2021-05-18 Thread Alex DeLorenzo
New submission from Alex DeLorenzo : According to the documentation, asyncio.as_completed() takes a positional argument, aws, as an iterable of awaitables[1]: asyncio.as_completed(aws, *, loop=None, timeout=None) Run awaitable objects in the aws iterable concurrently. As seen in