Comment 6 for bug 487353

Revision history for this message
Thomas Vander Stichele (thomasvs) wrote :

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.