Message153447
| 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:23 | vstinner | set | recipients:
+ 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:23 | vstinner | set | messageid: <1329347663.77.0.700121499847.issue7652@psf.upfronthosting.co.za> |
| 2012年02月15日 23:14:23 | vstinner | link | issue7652 messages |
| 2012年02月15日 23:14:23 | vstinner | create |
|