[Python-Dev] PEP 418: Add monotonic clock (original) (raw)

Ethan Furman ethan at stoneleaf.us
Tue Mar 27 19:35:06 CEST 2012


Yury Selivanov wrote:

On 2012-03-27, at 9:23 AM, Nick Coghlan wrote:

time.trymonotonic() # Monotonic is preferred, but non-monotonic presents a tolerable risk This function seems unnecessary. It's easy to implement it when required in your application, hence I don't think it is worth adding to the stdlib.

If I understood Nick correctly, time.try_monotonic() is /for/ the stdlib. If others want to make use of it, fine. If others want to make their own fallback mechanism, also fine.

Ethan



More information about the Python-Dev mailing list