On Wed, 14 Mar 2012 02:03:42 +0100 Victor Stinner <victor.stin...@gmail.com> wrote: > > We may merge both functions with a flag to be able to disable the > fallback. Example: > > - time.realtime(): best-effort monotonic, with a fallback > - time.realtime(monotonic=True): monotonic, may raise OSError or > NotImplementedError
That's a rather awful name. time.time() is *the* real time. time.monotonic(fallback=False) would be a better API. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com