Message133281
I think that's "normal", the 2.7 doc[0] says:
"""
Changed in version 2.7: A comparison between a float instance x and a Decimal instance y now returns a result based on the values of x and y. In earlier versions x < y returned the same (arbitrary) result for any Decimal instance x and any float instance y.
"""
This means that in Python 2.6 a comparison between Decimal and float is a meaningless operation that might return arbitrary values.
[0]: http://docs.python.org/library/decimal.html#decimal.Decimal |
|
Date |
User |
Action |
Args |
2011-04-08 00:23:01 | ezio.melotti | set | recipients:
+ ezio.melotti, mark.dickinson, Lane.Stevens |
2011-04-08 00:23:01 | ezio.melotti | set | messageid: <1302222181.13.0.0545718219992.issue11801@psf.upfronthosting.co.za> |
2011-04-08 00:23:00 | ezio.melotti | link | issue11801 messages |
2011-04-08 00:23:00 | ezio.melotti | create | |
|