STINNER Victor <victor.stin...@gmail.com> added the comment:

> Attached is a patch which implements time.monotonic() using
> mach_absolute_time() / mach_timebase_info().

Is it possible that mach_timebase_info() fails? No according to the Technical 
Q&A QA1398.

> time * timebase.numer / timebase.denom

"time * timebase.numer" may overflow, you should maybe multiply using the 
double type to avoid the overflow.

----------

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

Reply via email to