消息 [316304]
It would be very useful to add an asynchronous lambda syntax, as a shortcut for coroutines. I'm not experienced enough to write a PEP or edit the C source, but I have some ideas for syntax:
import asyncio
foo = async lambda a,b: 5 + await bar(b) |
|
| 日期 |
用户 |
动作 |
参数 |
| 2018-05-09 03:22:40 | Noah Simon | 修改 | recipients:
+ Noah Simon, asvetlov, yselivanov |
| 2018-05-09 03:22:40 | Noah Simon | 修改 | messageid: <1525836160.23.0.682650639539.issue33447@psf.upfronthosting.co.za> |
| 2018-05-09 03:22:40 | Noah Simon | 链接 | issue33447 messages |
| 2018-05-09 03:22:39 | Noah Simon | 创建 | |
|