Antoine Pitrou added the comment: > For example, it may call again epoll_wait() if it took less than timeout > seconds and returned no event, *and* the ready list is empty.
Easy solution: add 1 ms. to the timeout before calling epoll_wait(). Perhaps we need the same kind of thing for select() and poll() too. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20311> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com