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, docs@python, gvanrossum, yselivanov
Date 2017-02-01.19:49:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485978564.57.0.131253081603.issue29344@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch. sock_connect() wrapped by @coroutine in Lib/asyncio/selector_events.py so I left it as-is. Let me know if it still needs to be updated:

    @coroutine
    def sock_connect(self, sock, address):
        """Connect to a remote socket at address.

        This method is a coroutine.
        """
        ...

        return (yield from fut)
History
Date User Action Args
2017-02-01 19:49:24berker.peksagsetrecipients: + berker.peksag, gvanrossum, docs@python, yselivanov, Jeremy Bustamante
2017-02-01 19:49:24berker.peksagsetmessageid: <1485978564.57.0.131253081603.issue29344@psf.upfronthosting.co.za>
2017-02-01 19:49:24berker.peksaglinkissue29344 messages
2017-02-01 19:49:24berker.peksagcreate