Author Noah Simon
Recipients Noah Simon, asvetlov, yselivanov
Date 2018-05-09.03:22:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525836160.23.0.682650639539.issue33447@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2018-05-09 03:22:40Noah Simonsetrecipients: + Noah Simon, asvetlov, yselivanov
2018-05-09 03:22:40Noah Simonsetmessageid: <1525836160.23.0.682650639539.issue33447@psf.upfronthosting.co.za>
2018-05-09 03:22:40Noah Simonlinkissue33447 messages
2018-05-09 03:22:39Noah Simoncreate