[issue14222] Use time.steady() to implement timeout

Raymond Hettinger report at bugs.python.org
Sun Apr 8 02:48:57 CEST 2012


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

[Victor]
> The duration of a timeout of N seconds should be N seconds even 
> if the system clock is updated (e.g. a daylight saving time 
> (DST) change).

IIRC, time.time() is not a local time and it is unaffected by a DST change.

----------

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


More information about the Python-bugs-list mailing list