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 gvanrossum, jyasskin, mark.dickinson
Date 2008-01-07.02:21:45
SpamBayes Score 0.08763053
Marked as misclassified No
Message-id <>
Two more questions:  

(1) should a Rational instance be hashable?
(2) Should "Rational(5,2) == Decimal('2.5')" evaluate to True or False?

If Rationals are hashable and 2.5 == Rational(5, 2) == Decimal('2.5') then the 
rule that objects that compare equal should have equal hash is going to make 
life *very* interesting...
Date User Action Args
2008-01-07 02:21:47mark.dickinsonsetspambayes_score: 0.0876305 -> 0.08763053
recipients: + mark.dickinson, gvanrossum, jyasskin
2008-01-07 02:21:47mark.dickinsonsetspambayes_score: 0.0876305 -> 0.0876305
messageid: <>
2008-01-07 02:21:46mark.dickinsonlinkissue1682 messages
2008-01-07 02:21:45mark.dickinsoncreate