[issue1508864] threading.Timer/timeouts break on change of win32 local time

STINNER Victor report at bugs.python.org
Tue Jul 29 22:58:03 CEST 2014


STINNER Victor added the comment:

As Antoine wrote, Condition.wait() was rewritten in Python 3.2 to implement timeout using the native OS "acquire a lock with a timeout" function. So the initial concern is already fixed. This change is huge, we are not going to backport new lock timeouts in Python 2.7, it's too risky. It's time to upgrade to Python 3!

There is still a *corner case* when the function is interrupted by a signal, we use the system clock to recompute the new timeout. This corner case is addresses by the issue #22043.

----------
resolution:  -> fixed
status: open -> closed

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


More information about the Python-bugs-list mailing list