Home
last modified time | relevance | path

Searched refs:sock_connect (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_base_events.py1197 self.loop.sock_connect = mock.Mock()
1198 self.loop.sock_connect.side_effect = OSError
1214 self.loop.sock_connect = mock.Mock()
1215 self.loop.sock_connect.side_effect = OSError
1242 self.loop.sock_connect = mock.Mock()
1243 self.loop.sock_connect.side_effect = OSError('Err2')
1365 coro = self.loop.sock_connect(sock, addr)
1378 self.loop.sock_connect = mock.Mock()
1379 self.loop.sock_connect.return_value = self.loop.create_future()
1380 self.loop.sock_connect.return_value.set_result(None)
[all …]
Dtest_events.py426 self.loop.sock_connect(sock, httpd.address))
443 self.loop.sock_connect(sock, httpd.address))
458 self.loop.sock_connect(sock, httpd.address))
500 self.loop.sock_connect(sock, address))
638 self.loop.sock_connect(sock, address))
2213 self.run_loop(self.loop.sock_connect(sock, ('127.0.0.1', port)))
3045 await loop.sock_connect(f, f)
Dtest_selector_events.py427 self.loop.sock_connect(sock, ('127.0.0.1', 80)))
447 con = self.loop.create_task(self.loop.sock_connect(sock, addr))
Dtest_proactor_events.py931 self.run_loop(self.loop.sock_connect(sock, srv_sock.getsockname()))
Dtest_unix_events.py491 self.run_loop(self.loop.sock_connect(sock, (support.HOST, port)))
/external/python/cpython3/Lib/asyncio/
Devents.py527 async def sock_connect(self, sock, address): member in AbstractEventLoop
Dbase_events.py946 await self.sock_connect(sock, address)
1232 await self.sock_connect(sock, remote_address)
Dproactor_events.py553 async def sock_connect(self, sock, address): member in BaseProactorEventLoop
Dunix_events.py232 await self.sock_connect(sock, path)
Dselector_events.py449 async def sock_connect(self, sock, address): member in BaseSelectorEventLoop
/external/python/cpython3/Doc/library/
Dasyncio-llapi-index.rst195 * - ``await`` :meth:`loop.sock_connect`
Dasyncio-eventloop.rst816 .. coroutinemethod:: loop.sock_connect(sock, address)
825 ``address`` no longer needs to be resolved. ``sock_connect``
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b2.rst626 Fix callbacks race in asyncio.SelectorLoop.sock_connect.
D3.5.3rc1.rst1531 Fix callbacks race in asyncio.SelectorLoop.sock_connect.
D3.7.0a1.rst4624 Fix callbacks race in asyncio.SelectorLoop.sock_connect.
/external/python/cpython2/Modules/
Dsocketmodule.c2148 sock_connect(PySocketSockObject *s, PyObject *addro) function
3068 {"connect", (PyCFunction)sock_connect, METH_O,
/external/python/cpython3/Modules/
Dsocketmodule.c3083 sock_connect(PySocketSockObject *s, PyObject *addro) in sock_connect() function
4696 {"connect", (PyCFunction)sock_connect, METH_O,
/external/python/cpython3/Doc/whatsnew/
D3.5.rst865 * The :meth:`loop.sock_connect(sock, address) <asyncio.loop.sock_connect>`
/external/python/cpython3/Misc/
DHISTORY2285 - asyncio: Refactoring and fixes: BaseEventLoop.sock_connect() raises an