[issue20505] Remove resolution from selectors and granularity from asyncio
STINNER Victor
report at bugs.python.org
Mon Feb 10 19:22:31 CET 2014
STINNER Victor added the comment:
Here is clock_resolution.patch: reintroduce the old "granularity" but only use the resolution of the clock (expect the selector to round away from zero).
clock_resolution.patch fixes test_timeout_rounding() on my Windows 7 with HPET enabled, even with my more agressive version of the test (test also sleep close to nanoseconds, not only close to milliseconds).
Maybe we should also fix #20320: round away from zero for select(), kqueue and signal.sigtimedwait().
----------
Added file: http://bugs.python.org/file34023/clock_resolution.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20505>
_______________________________________
More information about the Python-bugs-list
mailing list