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

Victor Stinner victor.stinner at gmail.com
Wed Feb 15 14:01:32 CET 2012

> I agree with Barry here (despite having voiced support for using Decimal
> before): datetime.datetime *is* the right data type to represent time
> stamps. If it means that it needs to be improved before it can be used
> in practice, then so be it - improve it.

Maybe I missed the answer, but how do you handle timestamp with an
unspecified starting point like os.times() or time.clock()? Should we
leave these function unchanged?

My motivation for the PEP 410 is to provide nanosecond resolution for
time.clock_gettime(time.CLOCK_MONOTONIC) and


More information about the Python-Dev mailing list