Searched refs:_GLOBAL_DEFAULT_TIMEOUT (Results 1 – 21 of 21) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | mock_socket.py | 114 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT, 121 if timeout is socket_module._GLOBAL_DEFAULT_TIMEOUT:
|
D | test_urllib2.py | 257 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/ |
D | ftplib.py | 41 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, *,
|
D | poplib.py | 99 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 435 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, context=None):
|
D | socket.py | 804 _GLOBAL_DEFAULT_TIMEOUT = object() variable 806 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 827 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
|
D | smtplib.py | 229 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, 1016 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, 1069 source_address=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | nntplib.py | 80 from socket import _GLOBAL_DEFAULT_TIMEOUT 314 timeout=_GLOBAL_DEFAULT_TIMEOUT): 1020 timeout=_GLOBAL_DEFAULT_TIMEOUT):
|
D | telnetlib.py | 197 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 220 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
/external/python/cpython2/Lib/ |
D | socket.py | 539 _GLOBAL_DEFAULT_TIMEOUT = object() variable 541 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, 562 if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
|
D | ftplib.py | 48 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):
|
D | smtplib.py | 240 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 799 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | telnetlib.py | 189 timeout=socket._GLOBAL_DEFAULT_TIMEOUT): 213 def open(self, host, port=0, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | poplib.py | 86 timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | httplib.py | 722 timeout=socket._GLOBAL_DEFAULT_TIMEOUT, source_address=None): 1240 strict=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
D | urllib2.py | 131 def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, 411 def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
|
D | urllib.py | 866 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2.py | 243 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/ |
D | client.py | 819 def __init__(self, host, port=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, 1379 timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 139 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__.py | 141 return timeout is not None and timeout is not socket._GLOBAL_DEFAULT_TIMEOUT
|
/external/python/httplib2/python3/httplib2/ |
D | __init__.py | 57 return timeout is not None and timeout is not socket._GLOBAL_DEFAULT_TIMEOUT
|