Author sjunot
Recipients ned.deily, ronaldoussoren, sjunot
Date 2020-10-21.10:37:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This blog post describes an issue with Apple's "CLOCK_UPTIME_RAW" where the clock is reset after a system that hibernates:

According to Apple's documentation, CLOCK_UPTIME_RAW corresponds to mach_absolute_time():

CPython is using mach_absolute_time() for its time.monotonic() implementation:

time.monotonic() ought to be backed by the more appropriate mach_continuous_time() ("CLOCK_MONOTONIC_RAW"). Note it was introduced in macOS 10.12+:
Date User Action Args
2020-10-21 10:37:25sjunotsetrecipients: + sjunot, ronaldoussoren, ned.deily
2020-10-21 10:37:25sjunotsetmessageid: <>
2020-10-21 10:37:25sjunotlinkissue42107 messages
2020-10-21 10:37:25sjunotcreate