[issue2531] float compared to decimal is silently incorrect.

Facundo Batista report at bugs.python.org
Wed Apr 2 15:47:26 CEST 2008


Facundo Batista <facundo at taniquetil.com.ar> added the comment:

Which version of 2.4 are you talking about?

This line in the tests...

  self.assertNotEqual(da, 32.7)

is there since almost 4 years ago (release 36325, and 2.4 is tagged in
release 37906).

Anyway, this behaviour is ok, as is the following:

>>> 2 < "1.9"
True

----------
keywords: +easy -patch
nosy: +facundobatista
resolution:  -> rejected
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2531>
__________________________________


More information about the Python-bugs-list mailing list