[Python-Dev] PEP 418: Add monotonic time, performance counter and process time functions

Victor Stinner victor.stinner at gmail.com
Tue Apr 24 01:24:07 CEST 2012


>> Well, I asked on IRC what I should do for these definitions because
>> I'm too tired to decide what to do. [[...]] I replaced these definitions with yours.
>
> That was nice of you.  In return, I'll go over the PEP to check that
> usage is appropriate (eg, in some places "resolution" was used in the
> sense of computer science's "precision" == reported digits).  Please
> give me 24 hours.

As you asked me in private, I replaced "Precision" with "Resolution"
almost everywhere in the PEP. I removed the "precision" key of
time.get_clock_info(): use the "resolution" key instead.

No OS provides any information on the precision, accuracy, drift or
anything else of a specific clock. Only the resolution of a clock is
known.

Victor


More information about the Python-Dev mailing list