[issue2531] float compared to decimal is silently incorrect.
report at bugs.python.org
Sat Mar 21 20:03:40 CET 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
On the other hand, if it's true that mixed-type comparisons are generally
followed by mixed-type arithmetic, then these comparisons just become a
roundabout way to raise TypeError, which is what everybody wanted in the
first place. :-)
The patch still needs docs.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list