[Python-Dev] PEP 410 (Decimal timestamp): the implementation is ready for a review

Antoine Pitrou solipsis at pitrou.net
Wed Feb 15 17:47:11 CET 2012


On 2012年2月15日 08:39:45 -0800
Guido van Rossum <guido at python.org> wrote:
>> What purpose is there to recording timestamps in nanoseconds? For
> clocks that start when the process starts running, float *is*
> (basically) good enough. For measuring e.g. file access times, there
> is no way that the actual time is know with anything like that
> precision (even if it is *recorded* as a number of milliseconds --
> that's a different issue).

The number one use case, as far as I understand, is to have
bit-identical file modification timestamps where it can matter.
I agree that the rest is anecdotical.
Regards
Antoine.


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /