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
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to