Berker Peksag added the comment:
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)
----------
assignee: -> docs@python
components: +Documentation
keywords: +patch
nosy: +docs@python
stage: -> patch review
Added file: http://bugs.python.org/file46483/issue29344.diff
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29344>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com