Message316304
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) |
|
Date |
User |
Action |
Args |
2018-05-09 03:22:40 | Noah Simon | set | recipients:
+ Noah Simon, asvetlov, yselivanov |
2018-05-09 03:22:40 | Noah Simon | set | messageid: <1525836160.23.0.682650639539.issue33447@psf.upfronthosting.co.za> |
2018-05-09 03:22:40 | Noah Simon | link | issue33447 messages |
2018-05-09 03:22:39 | Noah Simon | create | |
|