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/2010-July/101267.html below:

[Python-Dev] Regarding socket timeouts in httplib

[Python-Dev] Regarding socket timeouts in httplib [Python-Dev] Regarding socket timeouts in httplibSimon Cross hodgestar+pythondev at gmail.com
Thu Jul 1 10:51:48 CEST 2010
On Thu, Jul 1, 2010 at 10:33 AM, Anders Sandvig
<anders.sandvig at gmail.com> wrote:
> 2) Modify HTTPConnection.connect() to set the timeout on the socket
> object after it has been  created (using the same timeout as given on
> the HTTPConnection constructor).

It looks like urllib2 in trunk and urllib.request in py3k are also
affected by this oddity. My vote is for option 2 -- i.e. consider it a
bug that the timeout wasn't consistently applied.

Schiavo
Simon
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