Mark Dickinson <dicki...@gmail.com> added the comment:

Unfortunately there's no easy way to fix this in 2.x, where any object is 
supposed to be comparable with any other.  See issue 2531 for a previous 
discussion.  It's fixed in 3.x:  there a comparison (other than ==, !=) 
between a float and a Decimal does raise an exception.

Closing as a duplicate of issue 2531.  Issue 2531 is also closed, but you 
should feel free to add to the discussion there.

----------
resolution:  -> duplicate
status: open -> closed
superseder:  -> float compared to decimal is silently incorrect.

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7323>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to