Re: [Python-Dev] PEP 564: Add new time functions with nanosecond resolution

2017年11月02日 19:23:38 -0700

Yay! Record time from acceptance to implementation. :-)
On Thu, Nov 2, 2017 at 8:16 AM, Victor Stinner <[email protected]>
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@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 <[email protected]>:
> > 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)
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to