PEP 492: isn't the "await" redundant?
Gregory Ewing
greg.ewing at canterbury.ac.nz
Fri Aug 26 22:17:48 EDT 2016
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.
2. Doing this would require massive changes to the core
interpreter and all C extensions. (The original version of
Stackless Python did something similar, and it was judged
far too big a change to incorporate into CPython.)
--
Greg
More information about the Python-list
mailing list