This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients Lane.Stevens, ezio.melotti, mark.dickinson
Date 2011-04-08.00:23:00
SpamBayes Score 1.1639699e-05
Marked as misclassified No
Message-id <1302222181.13.0.0545718219992.issue11801@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-04-08 00:23:01ezio.melottisetrecipients: + ezio.melotti, mark.dickinson, Lane.Stevens
2011-04-08 00:23:01ezio.melottisetmessageid: <1302222181.13.0.0545718219992.issue11801@psf.upfronthosting.co.za>
2011-04-08 00:23:00ezio.melottilinkissue11801 messages
2011-04-08 00:23:00ezio.melotticreate