New submission from Yury Selivanov <[email protected]>:
Prior to Python 3.7 we couldn't enable use of asynchronous generator
expressions in synchronous functions:
async arange(n):
for i in range(n):
yield i
def make_arange(n):
return (i async for i in arange(n))
----------
dependencies: +Drop support for asynchronous __aiter__
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31708>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com