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

Marko Rauhamaa marko at pacujo.net
Fri Aug 26 06:08:11 EDT 2016


Chris Angelico <rosuav at gmail.com>:
> On Fri, Aug 26, 2016 at 7:41 PM, Marko Rauhamaa <marko at pacujo.net> 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.
>
> If you want threading, you know where to find it.

Ultimately, asyncio and multithreading might well merge. It will be
difficult for a programmer to decide in the beginning of the design
which way to go as the programming models are almost identical.


Marko



More information about the Python-list mailing list