More urllib timeout issues.

Facundo Batista facundo at taniquetil.com.ar
Wed May 2 09:13:28 EDT 2007


Steve Holden wrote:

> 1) There is work afoot to build timeout arguments into network libraries 
> for 2.6, and I know Facundo Batista has been involved, you might want to 
> Google or email Facundo about that.

Right now (in svn trunk) httplib, ftplib, telnetlib, etc, has a timeout
argument.

If you use it, the socket timeout will be set (through s.settimeout()).
What behaviour has the socket after setting it the timeout, is beyond of
these changes, though.

BTW, I still need to make the final step here, that is adding a timeout
argument to urllib2.urlopen().

Regards,

-- 
.   Facundo
.
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/





More information about the Python-list mailing list