[issue8595] Explain the default timeout in http-client-related libraries

Antoine Pitrou report at bugs.python.org
Thu Aug 19 15:14:06 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> That way, if _HTTP_DEFAULT_TIMEOUT is never set, it will use the the
> socket timeout. Admittedly I'd rather see all uses of module globals go 
> away, but I think this would be a good compromise.

Why not provide {httplib,urllib}.{set,get}defaulttimeout() instead?

----------
nosy: +pitrou

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8595>
_______________________________________


More information about the Python-bugs-list mailing list