[Python-Dev] PEP 564: Add new time functions with nanosecond resolution
Guido van Rossum
guido at python.org
Thu Nov 2 22:19:28 EDT 2017
More information about the Python-Dev mailing list
Thu Nov 2 22:19:28 EDT 2017
- Previous message (by thread): [Python-Dev] PEP 564: Add new time functions with nanosecond resolution
- Next message (by thread): [Python-Dev] Interesting what version of python should I start with
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Yay! Record time from acceptance to implementation. :-) On Thu, Nov 2, 2017 at 8:16 AM, Victor Stinner <victor.stinner at gmail.com> wrote: > Thank you Guido for your review and approval. > > I just implemented the PEP 564 and so changed the PEP status to Final. > > FYI I also added 3 new clock identifiers to the time module in Python > 3.7: CLOCK_BOOTTIME, CLOCK_PROF and CLOCK_UPTIME. > > So you can now get your Linux uptime with a resolution of 1 nanosecond :-D > > haypo at selma$ ./python -c 'import time; > print(time.clock_gettime_ns(time.CLOCK_BOOTTIME))' > 232172588663888 > > Don't do that at home, it's just for educational purpose only! ;-) > > Victor > > 2017-10-30 18:18 GMT+01:00 Guido van Rossum <guido at python.org>: > > I have read PEP 564 and (mostly) followed the discussion in this thread, > and > > I am happy with the PEP. I am hereby approving PEP 564. Congratulations > > Victor! > > -- > > --Guido van Rossum (python.org/~guido) > -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171102/682ad0b6/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 564: Add new time functions with nanosecond resolution
- Next message (by thread): [Python-Dev] Interesting what version of python should I start with
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list