[Python-checkins] cpython: Issue #20311, #20452: poll and epoll now round the timeout away from zero,
victor.stinner
python-checkins at python.org
Fri Jan 31 13:05:01 CET 2014
http://hg.python.org/cpython/rev/f9a09b40bc17
changeset: 88848:f9a09b40bc17
user: Victor Stinner <victor.stinner at gmail.com>
date: Fri Jan 31 13:02:44 2014 +0100
summary:
Issue #20311, #20452: poll and epoll now round the timeout away from zero,
instead of rounding towards zero, in select and selectors modules:
select.epoll.poll(), selectors.PollSelector.poll() and
selectors.EpollSelector.poll(). For example, a timeout of one microsecond
(1e-6) is now rounded to one millisecondi (1e-3), instead of being rounded to
zero.
Mention the change in Misc/NEWS.
files:
Misc/NEWS | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,13 @@
Library
-------
+- Issue #20311, #20452: poll and epoll now round the timeout away from zero,
+ instead of rounding towards zero, in select and selectors modules:
+ select.epoll.poll(), selectors.PollSelector.poll() and
+ selectors.EpollSelector.poll(). For example, a timeout of one microsecond
+ (1e-6) is now rounded to one millisecondi (1e-3), instead of being rounded to
+ zero.
+
- asyncio: Some refactoring; add write flow control to unix pipes;
support wait_for(f, None); don't log broken/disconnected pipes; use
ValueError instead of assert for forbidden subprocess_{shell,exec}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list