[Python-Dev] Time-out in URL Open (original) (raw)
Facundo Batista facundobatista at gmail.com
Mon Jul 3 20:07:20 CEST 2006
- Previous message: [Python-Dev] Moving the ctypes repository to python.org
- Next message: [Python-Dev] Time-out in URL Open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I need a timeout in urlopen, just to be able to make:
urllib2.urlopen("http://no.host.org", timeout=2)
This is actually not possible, but I'll make it work.
I want to know, please, if this is useful in general, for me to post a patch in SF.
Regards,
-- . Facundo
Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/
- Previous message: [Python-Dev] Moving the ctypes repository to python.org
- Next message: [Python-Dev] Time-out in URL Open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]