[issue2531] float compared to decimal is silently incorrect.
Mark Dickinson
report at bugs.python.org
Sat Mar 21 21:41:36 CET 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
One more consideration: if Decimal('2.5') == 2.5 is True, should we also
be fixing the Decimal hash method so that hash(Decimal('2.5')) ==
hash(2.5)?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2531>
_______________________________________
More information about the Python-bugs-list
mailing list