Well, this is unexciting:
def __init__(self, host, port=None, strict=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
even more unexciting, from socket.py
_GLOBAL_DEFAULT_TIMEOUT = object()
I hope there is a good reason for this peculiar code in the standard Python library, or why httplib pokes into a private var, and what the point is.
Well, this is unexciting:
def __init__(self, host, port=None, strict=None,
timeout= socket. _GLOBAL_ DEFAULT_ TIMEOUT) :
even more unexciting, from socket.py
_GLOBAL_ DEFAULT_ TIMEOUT = object()
I hope there is a good reason for this peculiar code in the standard Python library, or why httplib pokes into a private var, and what the point is.