STINNER Victor added the comment: > That is allowed. We make no stability guarantees. Plus it just makes sense > that events with the same time and priority are non-deterministic.
It would be nice to keep the insertion order. If it is not guaranteed, it must be well documented (big red warning). Does it occur frequently to schedule two events at exactly the same time? On Linux, clocks have a good precision, even time.monotonic(). On Windows, the precision of time.monotonic() is worse (around 16 ms), so two events at the same time is more likely. The issue is specific to events scheduled at an absolute time, right? Or does .enter() has a similar issue? ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19270> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com