[Python-Dev] async/await in Python; v2

Yury Selivanov yselivanov.ml at gmail.com
Thu Apr 23 20:25:31 CEST 2015


Barry,

On 2015-04-23 2:12 PM, Barry Warsaw wrote:
> On Apr 23, 2015, at 02:02 PM, Yury Selivanov wrote:
>
>> To my eye 'async def name()', 'async with', 'async for' look
>> better than 'def async name()', 'with async' and 'for async'.
>> But that's highly subjective.
> Would you be willing to add this as an alternative to the PEP, under the "Why
> async def" section probably?
>
> As with all such bikesheds, Guido will pick the color and we'll ooh and
> ahh. :)

Sure! I think it's a great idea:

https://hg.python.org/peps/rev/8cb4c0ab0931
https://hg.python.org/peps/rev/ec319bf4c86e

Thanks!
Yury


More information about the Python-Dev mailing list