Author mdcb808@gmail.com
Recipients Arfrever, Niklas.Claesson, Ramchandra Apte, andrewclegg, belopolsky, ethan.furman, goshawk, lemburg, mdcb808@gmail.com, pitrou, pythonhacker, r.david.murray, serhiy.storchaka, tim.peters, vstinner
Date 2015-03-10.20:35:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426019702.92.0.739017865777.issue15443@psf.upfronthosting.co.za>
In-reply-to
Content
Intention of the patch was to keep it simple and limited to nanoseconds (per the report).

Throwing in Decimal would work (and possibly bring further precision) but consider:

datetime.fromnanoseconds(ns)

vs

datetime.fromtimestamp(Decimal(ts))

I find the former cleaner - sure, it adds a new class method.
History
Date User Action Args
2015-03-10 20:35:03mdcb808@gmail.comsetrecipients: + mdcb808@gmail.com, lemburg, tim.peters, belopolsky, pitrou, vstinner, pythonhacker, Arfrever, r.david.murray, andrewclegg, ethan.furman, Ramchandra Apte, serhiy.storchaka, goshawk, Niklas.Claesson
2015-03-10 20:35:02mdcb808@gmail.comsetmessageid: <1426019702.92.0.739017865777.issue15443@psf.upfronthosting.co.za>
2015-03-10 20:35:02mdcb808@gmail.comlinkissue15443 messages
2015-03-10 20:35:02mdcb808@gmail.comcreate