[issue29344] sock_recv not detected a coroutine
Berker Peksag
report at bugs.python.org
Tue Jan 31 19:54:43 EST 2017
Berker Peksag added the comment:
I'm not really familiar with asyncio terminology, but it looks like it returns a future:
>>> asyncio.isfuture(loop.sock_recv(sock, 1024))
True
There is a also a test in test_selector_events:
f = self.loop.sock_recv(sock, 1024)
self.assertIsInstance(f, asyncio.Future)
----------
nosy: +berker.peksag
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29344>
_______________________________________
More information about the Python-bugs-list
mailing list