[issue20311] epoll.poll(timeout) and PollSelector.select(timeout) must round the timeout to the upper bound
Antoine Pitrou
report at bugs.python.org
Tue Jan 21 00:14:13 CET 2014
Antoine Pitrou added the comment:
> A new parameter should be added to _PyTime_ObjectToTimeval() and
> _PyTime_ObjectToTimespec() to choose the rounding method.
That doesn't sound necessary. Just fix the select and selectors module so that the final (OS-level) timeout is always > 0 when the user timeout is > 0.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20311>
_______________________________________
More information about the Python-bugs-list
mailing list