[Python-Dev] Time-out in URL Open

"Martin v. Löwis" martin at v.loewis.de
Mon Jul 3 22:27:56 CEST 2006


Facundo Batista wrote:
>>>> 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.

While it might be useful, it can only be added to Python 2.6 now.
So take your time with that patch.

Regards,
Martin


More information about the Python-Dev mailing list