]> granicus.if.org Git - python/commit
Issue #20311: selector.PollSelector.select() now rounds the timeout away from
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 21 Jan 2014 00:48:28 +0000 (01:48 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 21 Jan 2014 00:48:28 +0000 (01:48 +0100)
commit11da8e24ba1090b9d55f3451345f0724055f125f
tree37f6cbbf807c8b44934990b25c13fe05055431b6
parent09354fd606409aea1270474270eb8a9396bb477e
Issue #20311: selector.PollSelector.select() now rounds the timeout away from
zero, instead of rounding towards zero. For example, a timeout of one
microsecond is now rounded to one millisecond, instead of being rounded to
zero.

Move also a test in test_epoll which was moved by my previous merge.
Lib/selectors.py
Lib/test/test_epoll.py
Lib/test/test_selectors.py
Misc/NEWS