This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients ned.deily, nicholas.riley, pitrou, ronaldoussoren, vstinner
Date 2012-03-12.22:42:51
SpamBayes Score 8.39628e-08
Marked as misclassified No
Message-id <1331592172.07.0.49891573878.issue14104@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2012-03-12 22:42:52vstinnersetrecipients: + vstinner, nicholas.riley, ronaldoussoren, pitrou, ned.deily
2012-03-12 22:42:52vstinnersetmessageid: <1331592172.07.0.49891573878.issue14104@psf.upfronthosting.co.za>
2012-03-12 22:42:51vstinnerlinkissue14104 messages
2012-03-12 22:42:51vstinnercreate