Author mark.dickinson
Recipients gvanrossum, jyasskin, mark.dickinson
Date 2008-01-07.02:21:45
SpamBayes Score 0.0876305
Marked as misclassified No
Message-id <1199672507.46.0.338887375023.issue1682@psf.upfronthosting.co.za>
In-reply-to
Content
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...
History
Date User Action Args
2008-01-07 02:21:47mark.dickinsonsetspambayes_score: 0.0876305 -> 0.0876305
recipients: + mark.dickinson, gvanrossum, jyasskin
2008-01-07 02:21:47mark.dickinsonsetspambayes_score: 0.0876305 -> 0.0876305
messageid: <1199672507.46.0.338887375023.issue1682@psf.upfronthosting.co.za>
2008-01-07 02:21:46mark.dickinsonlinkissue1682 messages
2008-01-07 02:21:45mark.dickinsoncreate