On 21/04/20 10:35 am, Eric Snow wrote:
For the event loop case, what is the downside
to adapting to the API in the existing proposal?

If you mean the suggestion of having async send and receive
methods, that's okay.

My point was that before responding to requests to add
individual features such as buffered channels, it might be
better to provide a general mechanism that would allow
people to implement their own favourite features themselves.

It seems like you're going to need some kind of callback
mechanism under the covers to implement async send and
receive anyway, so you may as well expose it as part of
the official API.

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

Reply via email to