[Python-ideas] Add time.time_ns(): system clock with nanosecond resolution

Victor Stinner victor.stinner at gmail.com
Sun Oct 15 05:45:31 EDT 2017


> (That being said, I'm a big fan of fractions, so I wonder if a Fraction
with a constant nano denominator wouldn't fit in here...)

It was discussed in depth in PEP 410, and the PEP was rejected. Guido voted
for nanoseconds as int, when os.stat_result.st_mtime_ns was added.

Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171015/56ae6c83/attachment.html>


More information about the Python-ideas mailing list