[issue35747] Python threading event wait influenced by date change
STINNER Victor
report at bugs.python.org
Tue Jan 15 12:57:17 EST 2019
STINNER Victor <vstinner at redhat.com> added the comment:
Python 3 uses a monotonic clock to implement timeouts, such clock is not affected by system clock changes *on purpose*. See time.monotonic() and PEP 418:
https://docs.python.org/dev/library/time.html#time.monotonic
https://www.python.org/dev/peps/pep-0418/
Relying on the system clock can cause severe bugs.
I suggest to close this issue as "not a bug".
----------
nosy: +vstinner
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35747>
_______________________________________
More information about the Python-bugs-list
mailing list