timeout in urllib.open()
Stefan Palme
kleiner at hora-obscura.de
Mon Feb 19 05:38:35 EST 2007
Uuuh this is no solution for me, because the
website-checking tool is part of a very very big
application running in an application server, so
globally setting the timeout may break a lot of
other things...
But when there is a "default timeout" (as indicated by
the method name) - isn't there a "per-socket timeout"
too?
-stefan-
> I believe this can only be set globally:
>
> import socket
> socket.setdefaulttimeout(seconds)
>
> Peter
More information about the Python-list
mailing list