[docs] [issue29344] sock_recv not detected a coroutine

Guido van Rossum report at bugs.python.org
Wed Feb 1 16:32:34 EST 2017


Guido van Rossum added the comment:

The word coroutine has a more specific meaning though (and we have iscoroutine*() inspection functions to check for it).

Maybe we should switch all these to "awaitable"?

Also note that in proactor_events.py, sock_connect() is *not* a coroutine. In fact I'm not sure what it is -- it calls self._proactor.connect() which appears to return None from the code in windows_events.py. That's presumably a separate bug.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29344>
_______________________________________


More information about the docs mailing list