More urllib timeout issues.
John Nagle
nagle at animats.com
Thu May 3 01:58:42 EDT 2007
Facundo Batista wrote:
> Steve Holden wrote:
>
>
>>1) There is work afoot to build timeout arguments into network libraries
>>for 2.6, and I know Facundo Batista has been involved, you might want to
>>Google or email Facundo about that.
>
>
> Right now (in svn trunk) httplib, ftplib, telnetlib, etc, has a timeout
> argument.
>
> If you use it, the socket timeout will be set (through s.settimeout()).
> What behaviour has the socket after setting it the timeout, is beyond of
> these changes, though.
>
> BTW, I still need to make the final step here, that is adding a timeout
> argument to urllib2.urlopen().
>
> Regards,
urllib, robotparser, and M2Crypto also need to be updated to match.
John Nagle
More information about the Python-list
mailing list