[Python-Dev] PEP: New timestamp formats

Antoine Pitrou solipsis at pitrou.net
Thu Feb 2 14:21:25 CET 2012


On Thu, 2 Feb 2012 14:10:14 +0100
Victor Stinner <victor.stinner at haypocalc.com> wrote:
> > Even if I like the idea, I don't think that we need all this machinery
> > to support nanosecond resolution. I should maybe forget my idea of
> > using datetime.datetime or datetime.timedelta, or only only support
> > int, float and decimal.Decimal.
> 
> I updated my patch (issue #13882) to only support int, float and
> decimal.Decimal types. I suppose that it is just enough.

Why int? That doesn't seem to bring anything.

Regards

Antoine.




More information about the Python-Dev mailing list