On Thu, Jul 1, 2010 at 10:33 AM, Anders Sandvig <anders.sand...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com