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 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
History
Date User Action Args
2010-01-06 01:47:24jjcontisetrecipients: + jjconti, rhettinger, facundobatista, mark.dickinson, skrah
2010-01-06 01:47:23jjcontisetmessageid: <1262742443.81.0.614687243749.issue7633@psf.upfronthosting.co.za>
2010-01-06 01:47:22jjcontilinkissue7633 messages
2010-01-06 01:47:21jjconticreate