Author lorg
Recipients facundobatista, jdunck, lorg
Date 2009-03-17.19:24:23
SpamBayes Score 7.2566e-09
Marked as misclassified No
Message-id <>
This behavior also exists in Python 2.6. However, in Python 3 an
exception is raised instead, as these kinds of comparisons are
considered incorrect.
Because of that, I'd like Python 3's behavior of raising exceptions on
float-decimal comparisons to be backported to Python 2.6.

As an aside, regardless of Python 3's behavior, there is a big
difference between 2<"1.9" and 1.6 < decimal("2.0"). It seems reasonable
to expect decimal comparisons to be made according to numerical value.
When this doesn't happen, it is better to fail loudly rather than silently.
Date User Action Args
2009-03-17 19:25:27lorgsetrecipients: + lorg, facundobatista, jdunck
2009-03-17 19:25:26lorgsetmessageid: <>
2009-03-17 19:24:26lorglinkissue2531 messages
2009-03-17 19:24:25lorgcreate