PEP 492: isn't the "await" redundant?

Marko Rauhamaa marko at pacujo.net
Sat Aug 27 00:59:02 EDT 2016


Gregory Ewing <greg.ewing at canterbury.ac.nz>:

> Marko Rauhamaa wrote:
>> How about making *every* function *always* and async,
>> unconditionally? That way *every* function would be an async and
>> every function call would be an await.
>
> 1. Many people regard it as a feature that you can see where
> potential suspension points are.

Yeah, it's actually crucial since every suspension point will also
require consideration for alternate stimuli like a possible cancellation
or timeout.


Marko



More information about the Python-list mailing list