desbma added the comment:

Yes, you are right: I tried with a small C program, and compared with strace 
log of the Python program.
In both cases poll sometimes returns -1 (error), or sometimes 0 (timeout).

This is a weird behavior (at least for me) of the TCP stack, but clearly Python 
is not the cause so I am closing this issue.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue31268>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to