Author haypo
Recipients Amaury.Forgeot.d'Arc, amaury.forgeotdarc, brian.curtin, casevh, ced, eric.smith, eric.snow, haypo, jjconti, mark.dickinson, pitrou, rhettinger, skrah
Date 2012-02-15.23:14:23
SpamBayes Score 5.83852e-10
Marked as misclassified No
Message-id <1329347663.77.0.700121499847.issue7652@psf.upfronthosting.co.za>
In-reply-to
Content
I tried my timestamp patch with _decimal: it fails because decimal and _decimal API is not exactly the same.

decimal.Decimal.__truediv__() has an optional context argument, whereas _decimal defines PyNumberMethods.

decimal.Decimal.quantize() second argument is optional and its default value is None, but if I pass None to _decimal.Decimal.quantize(), I get a TypeError because _decimal expects an integer.
History
Date User Action Args
2012-02-15 23:14:23hayposetrecipients: + haypo, rhettinger, amaury.forgeotdarc, mark.dickinson, pitrou, casevh, eric.smith, jjconti, ced, brian.curtin, skrah, Amaury.Forgeot.d'Arc, eric.snow
2012-02-15 23:14:23hayposetmessageid: <1329347663.77.0.700121499847.issue7652@psf.upfronthosting.co.za>
2012-02-15 23:14:23haypolinkissue7652 messages
2012-02-15 23:14:23haypocreate