socket-module: different behaviour on windows / unix when a timeout is set

Grant Edwards grante at
Thu Jul 10 15:52:21 CEST 2008

On 2008-07-10, A.T.Hofkamp <hat at> wrote:
> On 2008-07-09, Mirko Vogt <lists at> wrote:
>> Is that behaviour common or even documented? Found nothing.
> Second sentence in the socket module documentation:
> Note: Some behavior may be platform dependent, since calls are
> made to the operating system socket APIs.
> So yes, what you found is probably how it should behave.

I have a hard time believing that the phrase "platform
dependent" should be stretched to cover the OP's example where
the results are just plain _wrong_.

Grant Edwards                   grante             Yow! I'm having BEAUTIFUL
                                  at               THOUGHTS about the INSIPID
                                 WIVES of smug and wealthy
                                                   CORPORATE LAWYERS ...

More information about the Python-list mailing list