Message97288
| Author |
jjconti |
| Recipients |
facundobatista, jjconti, mark.dickinson, rhettinger, skrah |
| Date |
2010年01月06日.01:47:19 |
| SpamBayes Score |
2.7233008e-07 |
| Marked as misclassified |
No |
| Message-id |
<1262742443.81.0.614687243749.issue7633@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The attached patch solves this issue.
Finally, only operand 'a' needs to be converted to Decimal if it's not. I discover this after writing my tests and start the implementation.
A Context.method is modified if it has more than one operand (for example a and b) and Decimal.method uses _convert_other
26 Context's methods were modified.
26 unit tets were added to ContextAPItests TestCase.
docstring was added to Context.divmod |
|