This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Amaury.Forgeot.d'Arc, amaury.forgeotdarc, brian.curtin, casevh, ced, eric.smith, eric.snow, jjconti, mark.dickinson, pitrou, rhettinger, skrah, vstinner
Date 2012-02-15.23:14:23
SpamBayes Score 5.8385236e-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:23vstinnersetrecipients: + vstinner, 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:23vstinnersetmessageid: <1329347663.77.0.700121499847.issue7652@psf.upfronthosting.co.za>
2012-02-15 23:14:23vstinnerlinkissue7652 messages
2012-02-15 23:14:23vstinnercreate