Nikolaus Rath writes:
> Hello,
>
> I have a problem with using select. I can reliably reproduce a situation
> where select.select((sock.fileno(),), (), (), 0) returns ((),(),())
> (i.e., no data ready for reading), but an immediately following
> sock.recv() returns data without blocking.
[...]
Tu
In article ,
Nikolaus Rath wrote:
> Hello,
>
> I have a problem with using select. I can reliably reproduce a situation
> where select.select((sock.fileno(),), (), (), 0) returns ((),(),())
> (i.e., no data ready for reading), but an immediately following
> sock.recv() returns data without bloc
On Mon, Feb 17, 2014 at 5:35 PM, Nikolaus Rath wrote:
> Hello,
>
> I have a problem with using select. I can reliably reproduce a situation ...
Can you reproduce it with a reasonably short amount of code? If so,
please post it.
> I'm running Python 3.3.3 under Linux 3.12.
Do you mean Linux kern
Hello,
I have a problem with using select. I can reliably reproduce a situation
where select.select((sock.fileno(),), (), (), 0) returns ((),(),())
(i.e., no data ready for reading), but an immediately following
sock.recv() returns data without blocking.
I am pretty sure that this is not a race c