
July 1, 2010
8:51 a.m.
On Thu, Jul 1, 2010 at 10:33 AM, Anders Sandvig <anders.sandvig@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