Re: deliberate versus os socket timeout

2007-07-06 Thread Robin Becker
John J. Lee wrote: > > What do you mean "is in fact true"? Is what true? That the reason is > always formatted in those ways when those particular errors occur? > Not sure there's any reason to rely on that: I'd expect .reason to be > an exception object, so (reading the docs for module socket)

Re: deliberate versus os socket timeout

2007-07-05 Thread John J. Lee
Robin Becker <[EMAIL PROTECTED]> writes: > While messing about with some deliberate socket timeout code I got an > unexpected timeout after 20 seconds when my code was doing > socket.setdefaulttimeout(120). > > Closer inspection revealed that this error in fact seemed to come from > the os (in thi

deliberate versus os socket timeout

2007-07-05 Thread Robin Becker
While messing about with some deliberate socket timeout code I got an unexpected timeout after 20 seconds when my code was doing socket.setdefaulttimeout(120). Closer inspection revealed that this error in fact seemed to come from the os (in this case windows xp). By inspection of test cases t