This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients Jeremy Bustamante, berker.peksag, gvanrossum, yselivanov
Date 2017-02-01.00:54:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485910483.48.0.205647199571.issue29344@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2017-02-01 00:54:43berker.peksagsetrecipients: + berker.peksag, gvanrossum, yselivanov, Jeremy Bustamante
2017-02-01 00:54:43berker.peksagsetmessageid: <1485910483.48.0.205647199571.issue29344@psf.upfronthosting.co.za>
2017-02-01 00:54:43berker.peksaglinkissue29344 messages
2017-02-01 00:54:43berker.peksagcreate