[New-bugs-announce] [issue33447] Asynchronous lambda syntax
Noah Simon
report at bugs.python.org
Tue May 8 23:22:40 EDT 2018
New submission from Noah Simon <noahs2003 at gmail.com>:
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)
----------
components: asyncio
messages: 316304
nosy: Noah Simon, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: Asynchronous lambda syntax
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33447>
_______________________________________
More information about the New-bugs-announce
mailing list