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 mark.dickinson
Recipients Rhamphoryncus, eric.smith, mark.dickinson, skrah
Date 2010-03-27.11:49:19
SpamBayes Score 0.010656081
Marked as misclassified No
Message-id <>
Here's a version of the patch that adds exact comparisons between the various numeric types.  The only slightly tricky comparison is the Fraction <-> Decimal one:  an obvious strategy is to convert the Decimal exactly to a Fraction and then use the fraction comparison, but this is inefficient for Decimal instances with large exponent.  So instead, we compare a Decimal `x` with a Fraction `n/d` by comparing `x*d` with `n` in the Decimal domain.
Date User Action Args
2010-03-27 11:49:29mark.dickinsonsetrecipients: + mark.dickinson, Rhamphoryncus, eric.smith, skrah
2010-03-27 11:49:29mark.dickinsonsetmessageid: <>
2010-03-27 11:49:27mark.dickinsonlinkissue8188 messages
2010-03-27 11:49:27mark.dickinsoncreate