[issue2531] float compared to decimal is silently incorrect.

Mark Dickinson 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>
<http://bugs.python.org/issue2531>
_______________________________________


More information about the Python-bugs-list mailing list