Searched refs:socket_module (Results 1 – 2 of 2) sorted by relevance
5 import socket as socket_module namespace117 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT,124 if timeout is socket_module._GLOBAL_DEFAULT_TIMEOUT:151 return socket_module.getaddrinfo(*args, **kw)153 gaierror = socket_module.gaierror154 error = socket_module.error158 _GLOBAL_DEFAULT_TIMEOUT = socket_module._GLOBAL_DEFAULT_TIMEOUT159 AF_INET = socket_module.AF_INET160 AF_INET6 = socket_module.AF_INET6161 SOCK_STREAM = socket_module.SOCK_STREAM[all …]
1938 PyObject *socket_module = PyImport_ImportModule("_socket"); in overlapped_exec() local1939 if (!socket_module) { in overlapped_exec()1943 Py_DECREF(socket_module); in overlapped_exec()