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 mark.dickinson
Recipients adamtj, mark.dickinson
Date 2009-11-14.22:20:48
SpamBayes Score 4.0017317e-06
Marked as misclassified No
Message-id <1258237250.83.0.248312217702.issue7323@psf.upfronthosting.co.za>
In-reply-to
Content
Unfortunately there's no easy way to fix this in 2.x, where any object is 
supposed to be comparable with any other.  See issue 2531 for a previous 
discussion.  It's fixed in 3.x:  there a comparison (other than ==, !=) 
between a float and a Decimal does raise an exception.

Closing as a duplicate of issue 2531.  Issue 2531 is also closed, but you 
should feel free to add to the discussion there.
History
Date User Action Args
2009-11-14 22:20:50mark.dickinsonsetrecipients: + mark.dickinson, adamtj
2009-11-14 22:20:50mark.dickinsonsetmessageid: <1258237250.83.0.248312217702.issue7323@psf.upfronthosting.co.za>
2009-11-14 22:20:49mark.dickinsonlinkissue7323 messages
2009-11-14 22:20:48mark.dickinsoncreate