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 jyasskin
Recipients facundobatista, jyasskin, mark.dickinson
Date 2007-12-16.02:02:19
SpamBayes Score 0.001617664
Marked as misclassified No
Message-id <1197770542.45.0.146826653187.issue1623@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a version of the patch that uses _rescale instead of quantize. I
don't know enough about how contexts are used to know whether someone
might want to know that ceil(Decimal("1e30")) gave a result with more
precision than the input. On the other hand, the error .quantize()
throws is clearly the wrong one, so this is at least an improvement.
Files
File name Uploaded
decimal_3141.patch jyasskin, 2007-12-16.02:02:20
History
Date User Action Args
2007-12-16 02:02:23jyasskinsetspambayes_score: 0.00161766 -> 0.001617664
recipients: + jyasskin, facundobatista, mark.dickinson
2007-12-16 02:02:22jyasskinsetspambayes_score: 0.00161766 -> 0.00161766
messageid: <1197770542.45.0.146826653187.issue1623@psf.upfronthosting.co.za>
2007-12-16 02:02:22jyasskinlinkissue1623 messages
2007-12-16 02:02:20jyasskincreate