summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-01-21 00:48:28 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-01-21 00:48:28 (GMT)
commit11da8e24ba1090b9d55f3451345f0724055f125f (patch)
tree37f6cbbf807c8b44934990b25c13fe05055431b6 /Misc
parent09354fd606409aea1270474270eb8a9396bb477e (diff)
downloadcpython-11da8e24ba1090b9d55f3451345f0724055f125f.zip
cpython-11da8e24ba1090b9d55f3451345f0724055f125f.tar.gz
cpython-11da8e24ba1090b9d55f3451345f0724055f125f.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 88921d4..ad37fa5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -25,6 +25,11 @@ Core and Builtins
Library
-------
+- 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.
+
- Issue #20311: select.epoll.poll() 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.