On 13/06/23 9:29 am, Dom Grigonis wrote:
Also, could anyone point me in the direction, where it is explained why new 
await/async syntax was introduced instead of making use of already existing 
yield coroutine functionality?

To my mind, the fact that coroutines use the same underlying
mechanism as generators is an implementation detail. It's
only like that for historical reasons, and it could change in
the future.

--
Greg
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/3WAC6IUUK4P3KYHIR7CNQ3HAYQV4D5CB/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to