Message315775
| Author | zsol |
|---|---|
| Recipients | zsol |
| Date | 2018-04-26.05:18:49 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1524719930.25.0.682650639539.issue33363@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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(). |
|
| History | |||
|---|---|---|---|
| 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 | |