[issue2531] float compared to decimal is silently incorrect.

Mark Dickinson report at bugs.python.org
Fri Apr 17 11:22:52 CEST 2009


Mark Dickinson <dickinsm at gmail.com> added the comment:

The downside is the potential confusion arising from
using one method (comparison of actual numerical value)
for <, <=, >, >=, and a different method (decimals
and floats are never equal) for == and !=.

----------

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


More information about the Python-bugs-list mailing list