[EMAIL PROTECTED] wrote:
> Facundo> I need a timeout in urlopen, just to be able to make:
>
> >>>> urllib2.urlopen("http://no.host.org", timeout=2)
>
> Facundo> This is actually not possible, but I'll make it work.
>
> Facundo> I want to know, please, if this is useful in general, for me to
> Facundo> post a patch in SF.
>
> As others have posted, yes, it would be useful for 2.6. However, you should
> consider how that might be applied to the other Internet service modules
> (ftplib, telnetlib, urllib, etc).
There was one patch that did this: http://python.org/sf/723312.
Georg
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com