[Python-Dev] Time-out in URL Open

Facundo Batista facundobatista at gmail.com
Tue Jul 4 17:43:35 CEST 2006


2006/7/3, Guido van Rossum <guido at python.org>:

> To fake things like this, socket.setdefaulttimeout() was added, though
> I don't know if it actually works. Have you tried that?

This affect all the sockets. And I hit the problem when servicing
information with a web service (TCPServer), and I need to timeout the
connection of the URLOpen *only*.

Regards,

-- 
.    Facundo

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


More information about the Python-Dev mailing list