A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-February/070908.html below:

[Python-Dev] Adding timeout option to httplib...connect()

[Python-Dev] Adding timeout option to httplib...connect() [Python-Dev] Adding timeout option to httplib...connect()Fred L. Drake, Jr. fdrake at acm.org
Fri Feb 9 19:53:24 CET 2007
On Friday 09 February 2007 08:52, skip at pobox.com wrote:
 > In principle it's probably a fine idea.  We should consider if it's
 > possible to develop a uniform approach to timeouts for all the libraries
 > that use sockets though.  Otherwise you run the risk of doing it in
 > different ways for different libraries and having to make a (small, but
 > annoying) semantic leap when going from, say, httplib to smtpllib or
 > ftplib.

Agreed.  In the meanwhile, there's socket.setdefaulttimeout(), which has 
proved quite useful.


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4