Re: urllib2 hangs "forever" where there is no network interface

2007-02-10 Thread John J. Lee
[EMAIL PROTECTED] (John J. Lee) writes: > (I'm having news trouble, sorry if anybody sees a similar reply three > times...) > > "dumbkiwi" <[EMAIL PROTECTED]> writes: > > On Feb 2, 5:02 am, [EMAIL PROTECTED] (John J. Lee) wrote: > > > "dumbkiwi" <[EMAIL PROTECTED]> writes: > [...] > > > > If ther

Re: urllib2 hangs "forever" where there is no network interface

2007-02-03 Thread John J. Lee
(I'm having news trouble, sorry if anybody sees a similar reply three times...) "dumbkiwi" <[EMAIL PROTECTED]> writes: > On Feb 2, 5:02 am, [EMAIL PROTECTED] (John J. Lee) wrote: > > "dumbkiwi" <[EMAIL PROTECTED]> writes: [...] > > > If there is no network interface, urllib2 hangs for a very long

Re: urllib2 hangs "forever" where there is no network interface

2007-02-01 Thread dumbkiwi
On Feb 2, 5:02 am, [EMAIL PROTECTED] (John J. Lee) wrote: > "dumbkiwi" <[EMAIL PROTECTED]> writes: > > I have written a script that uses the urllib2 module to download web > > pages for parsing. > > > If there is no network interface, urllib2 hangs for a very long time > > before it raises an excep

Re: urllib2 hangs "forever" where there is no network interface

2007-02-01 Thread John J. Lee
"dumbkiwi" <[EMAIL PROTECTED]> writes: > I have written a script that uses the urllib2 module to download web > pages for parsing. > > If there is no network interface, urllib2 hangs for a very long time > before it raises an exception. I have set the socket timeout with > socket.setdefaulttimeo