[Python-Dev] async/await PEP (original) (raw)
Martin Teichmann lkb.teichmann at gmail.com
Tue Apr 21 10:23:43 CEST 2015
- Previous message (by thread): [Python-Dev] async/await PEP
- Next message (by thread): [Python-Dev] async/await PEP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Yury, Hi List,
I do certainly like the idea of PEP 492, just some small comments:
why do we need two keywords? To me it is not necessarily intuitive when to use async and when to use await (why is it async for and not await for?), so wouldn't it be much simpler, and more symmetric, to just have one keyword? I personally prefer await for that, then it is "await def", and "await for" (and "await with", etc.).
Greetings
Martin
- Previous message (by thread): [Python-Dev] async/await PEP
- Next message (by thread): [Python-Dev] async/await PEP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]