[issue2531] float compared to decimal is silently incorrect.

Jeremy Dunck report at bugs.python.org
Thu Mar 19 19:16:02 CET 2009


Jeremy Dunck <jdunck at gmail.com> added the comment:

I hear you on the 2.x to 3.x transition-- I'm not really asking for
mixed-mode arithmetic.  I'd be perfectly happy if float > decimal raised
TypeError, as float + decimal does.

My complaint is that it is silently wrong.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2531>
_______________________________________


More information about the Python-bugs-list mailing list