Message170062
| Author |
hac.man |
| Recipients |
hac.man, mark.dickinson, rhettinger, skrah |
| Date |
2012年09月08日.19:26:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1347132407.81.0.728702066463.issue15882@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I did not encounter this in a regular application. I do use the decimal module, and was excited to see the adoption of a faster C version, so I was just reading through the code to see how it worked. I can't think of a situation where I would need to construct a decimal from a tuple and not a string or some other numeric type, though. For what it's worth, I think that as long as construction from tuples is supported, Decimal(d.as_tuple()) should work for all Decimal objects d. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年09月08日 19:26:47 | hac.man | set | recipients:
+ hac.man, rhettinger, mark.dickinson, skrah |
| 2012年09月08日 19:26:47 | hac.man | set | messageid: <1347132407.81.0.728702066463.issue15882@psf.upfronthosting.co.za> |
| 2012年09月08日 19:26:47 | hac.man | link | issue15882 messages |
| 2012年09月08日 19:26:46 | hac.man | create |
|