socket-module: different behaviour on windows / unix when a timeout is set
Grant Edwards
grante at visi.com
Thu Jul 10 09:52:21 EDT 2008
On 2008-07-10, A.T.Hofkamp <hat at se-162.se.wtb.tue.nl> wrote:
> On 2008-07-09, Mirko Vogt <lists at nanl.de> 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
visi.com WIVES of smug and wealthy
CORPORATE LAWYERS ...
More information about the Python-list
mailing list