Home
last modified time | relevance | path

Searched refs:_GLOBAL_DEFAULT_TIMEOUT (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython3/Lib/test/
Dmock_socket.py114 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT,
121 if timeout is socket_module._GLOBAL_DEFAULT_TIMEOUT:
Dtest_urllib2.py257 def open(self, req, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
337 def __call__(self, host, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
716 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
1168 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
1199 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
1210 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
1222 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
1239 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
1259 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
/external/python/cpython3/Lib/
Dftplib.py41 from socket import _GLOBAL_DEFAULT_TIMEOUT
108 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *,
318 if self.timeout is not _GLOBAL_DEFAULT_TIMEOUT:
377 if self.timeout is not _GLOBAL_DEFAULT_TIMEOUT:
713 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None, *,
Dpoplib.py99 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
435 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, context=None):
Dsocket.py804 _GLOBAL_DEFAULT_TIMEOUT = object() variable
806 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
827 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
Dsmtplib.py229 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
1016 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
1069 source_address=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Dnntplib.py80 from socket import _GLOBAL_DEFAULT_TIMEOUT
314 timeout=_GLOBAL_DEFAULT_TIMEOUT):
1020 timeout=_GLOBAL_DEFAULT_TIMEOUT):
Dtelnetlib.py197 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
220 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
/external/python/cpython2/Lib/
Dsocket.py539 _GLOBAL_DEFAULT_TIMEOUT = object() variable
541 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
562 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
Dftplib.py48 from socket import _GLOBAL_DEFAULT_TIMEOUT
117 timeout=_GLOBAL_DEFAULT_TIMEOUT):
308 if self.timeout is not _GLOBAL_DEFAULT_TIMEOUT:
367 if self.timeout is not _GLOBAL_DEFAULT_TIMEOUT:
662 timeout=_GLOBAL_DEFAULT_TIMEOUT, source_address=None):
Dsmtplib.py240 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
799 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Dtelnetlib.py189 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
213 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Dpoplib.py86 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Dhttplib.py722 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, source_address=None):
1240 strict=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
Durllib2.py131 def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
411 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
Durllib.py866 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
/external/python/cpython2/Lib/test/
Dtest_urllib2.py243 def open(self, req, data=None,timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
296 def __call__(self, host, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
634 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
933 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
963 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
973 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
985 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
1002 req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
/external/python/cpython3/Lib/http/
Dclient.py819 def __init__(self, host, port=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
1379 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
/external/python/cpython3/Lib/urllib/
Drequest.py139 def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
498 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
/external/python/httplib2/python2/httplib2/
D__init__.py141 return timeout is not None and timeout is not socket._GLOBAL_DEFAULT_TIMEOUT
/external/python/httplib2/python3/httplib2/
D__init__.py57 return timeout is not None and timeout is not socket._GLOBAL_DEFAULT_TIMEOUT