[Python-Dev] Decimal <-> float comparisons in py3k.

Steven D'Aprano steve at pearwood.info
Wed Mar 17 21:59:24 CET 2010

On Thu, 18 Mar 2010 07:44:21 am Raymond Hettinger wrote:
> The spectrum of options from worst to best is
> 1) compare but give the wrong answer
> 2) compare but give the right answer
> 3) refuse to compare.

Why is 3 the best? If there is a right answer to give, surely giving the 
right answer it is better than not?

Steven D'Aprano

More information about the Python-Dev mailing list