urllib2 pinger : insight as to use, cause of hang-up?

Mahesh sutram at gmail.com
Mon Jun 6 17:20:41 CEST 2005

socket.setdefaulttimeout() is what I have used in the past and it has
worked well. I think it is set in the global namespace though I could
be wrong. I think it retains its value within the module it is called
in. If you use it in a different module if will probably get reset
though it is easy enough to test that out.

More information about the Python-list mailing list