
Hello, I've just posted a new PEP about adding async/await to python-ideas. Maybe I should have posted it here instead.. Anyways, please take a look. Thanks, Yury

Hello, On Fri, 17 Apr 2015 15:12:50 -0400 Yury Selivanov <yselivanov.ml@gmail.com> wrote:
For reference, python-ideas archive link is https://mail.python.org/pipermail/python-ideas/2015-April/033007.html
-- Best regards, Paul mailto:pmiscml@gmail.com

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

Hi Martin, On 2015-04-21 4:23 AM, Martin Teichmann wrote:
"await" is a verb - call for action, while "async" is an adjective (although non-existent in plain English). Hence "async" tells us that the statement after it is asynchronous. At least that's my reasoning about it ;) Yury

Hello, On Fri, 17 Apr 2015 15:12:50 -0400 Yury Selivanov <yselivanov.ml@gmail.com> wrote:
For reference, python-ideas archive link is https://mail.python.org/pipermail/python-ideas/2015-April/033007.html
-- Best regards, Paul mailto:pmiscml@gmail.com

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

Hi Martin, On 2015-04-21 4:23 AM, Martin Teichmann wrote:
"await" is a verb - call for action, while "async" is an adjective (although non-existent in plain English). Hence "async" tells us that the statement after it is asynchronous. At least that's my reasoning about it ;) Yury
participants (4)
-
Martin Teichmann
-
Paul Sokolovsky
-
Ryan Hiebert
-
Yury Selivanov