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 <rep...@bugs.python.org>
<http://bugs.python.org/issue29344>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to