diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 12:02:44 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-31 12:02:44 (GMT) |
commit | fcfb9461d3cb726b3badee8ffdb6034f19882330 (patch) | |
tree | aced96c21605b9fba3ae59fe2f1359748fbf823a | |
parent | 49d0f4e4282cbb397232c0a80799f661d2f9456f (diff) | |
download | cpython-fcfb9461d3cb726b3badee8ffdb6034f19882330.zip cpython-fcfb9461d3cb726b3badee8ffdb6034f19882330.tar.gz cpython-fcfb9461d3cb726b3badee8ffdb6034f19882330.tar.bz2 |
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.
-rw-r--r-- | Misc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -13,6 +13,13 @@ Core and Builtins 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} |