[New-bugs-announce] [issue29689] Asyncio-namespace helpers for async_generators

Codey Oxley report at bugs.python.org
Wed Mar 1 13:52:55 EST 2017


New submission from Codey Oxley:

Expanding an async_generator to any container-type currently makes you do an async-for loop/comprehension. There are some third-party libs (aitertools) that have helpers but it would be nice for this to be upstream for list, tuple, dict, set, etc.

Usage might be:

expanded: List[int] = await asyncio.list(gen())

----------
components: Library (Lib), asyncio
messages: 288773
nosy: Codey Oxley, gvanrossum, yselivanov
priority: normal
severity: normal
status: open
title: Asyncio-namespace helpers for async_generators
type: enhancement
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29689>
_______________________________________


More information about the New-bugs-announce mailing list