Message315775
Since 3.7, async generators can be used in non-async functions. The way this is implemented allows the following to be valid syntax:
def f():
async for i in aiterable:
pass
return 1
The return value of the above function is a Future that will never be done(). |
|
Date |
User |
Action |
Args |
2018-04-26 05:18:50 | zsol | set | recipients:
+ zsol |
2018-04-26 05:18:50 | zsol | set | messageid: <1524719930.25.0.682650639539.issue33363@psf.upfronthosting.co.za> |
2018-04-26 05:18:50 | zsol | link | issue33363 messages |
2018-04-26 05:18:49 | zsol | create | |
|