[issue29344] sock_recv not detected a coroutine
Berker Peksag
report at bugs.python.org
Mon Jan 22 13:00:30 EST 2018
Berker Peksag <berker.peksag at gmail.com> added the comment:
Well, the current status quo has already confused a user (see msg286011)
> (so that people don't write code that expects them to be not coroutines in 3.6)
Even if people expect these methods to be coroutines, two functions of the asyncio public API (iscoroutinefunction() and iscoroutine()) disagree with them as described in msg286011.
In similar scenarios, we've always keep the code as is and clarified the docs in stable releases, then changed the code behave as documented in master.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29344>
_______________________________________
More information about the Python-bugs-list
mailing list