[issue20646] 3.4 cherry-pick: 180e4b678003 select and kqueue round the timeout aways from zero

STINNER Victor report at bugs.python.org
Mon Feb 17 00:34:35 CET 2014


New submission from STINNER Victor:

In Python 3.4, poll and epoll were modified to round the timeout away from zero to fix a performance issue in asyncio. I also modified select and kqueue for the same reason.

changeset:   89230:180e4b678003
tag:         tip
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Feb 17 00:02:43 2014 +0100
files:       Include/pytime.h Lib/test/test_time.py Misc/NEWS Modules/_datetimemodule.c Modules/_testcapimod
description:
Issue #20320: select.select() and select.kqueue.control() now round the timeout
aways from zero, instead of rounding towards zero.

It should make test_asyncio more reliable, especially test_timeout_rounding() test.

----------
assignee: larry
messages: 211374
nosy: haypo, larry
priority: release blocker
severity: normal
status: open
title: 3.4 cherry-pick: 180e4b678003 select and kqueue round the timeout aways from zero
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20646>
_______________________________________


More information about the Python-bugs-list mailing list