New submission from Aleksandr <aleksandr.avfero...@gmail.com>:

This happens on Ubuntu on Python versions 3.8.5 and 3.10.4

I have two threads that can change the system time to a day ago.
If the change in the system time for a day occurs at the time of wait, then I 
hang for one day plus the waiting time.

I thought Event.wait() uses a monotonous clock, but this behavior points to an 
absolute clock.

Are there any solutions?

----------
components: Library (Lib)
files: reproduction.py
messages: 416851
nosy: AleksandrAQ
priority: normal
severity: normal
status: open
title: Python threading.Event().wait() depends on the system time
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file50725/reproduction.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue47238>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to