Author mark.dickinson
Recipients mark.dickinson
Date 2010-03-20.20:34:23
SpamBayes Score 0.0242136
Marked as misclassified No
Message-id <1269117270.13.0.417099891076.issue8188@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch that makes hash(x) == hash(y) for any numeric types (int, float, complex, Decimal, Fraction, bool) when x and y are numerically equal.

This is a prerequisite for making all numeric types accurately comparable with each other.
History
Date User Action Args
2010-03-20 20:34:30mark.dickinsonsetrecipients: + mark.dickinson
2010-03-20 20:34:30mark.dickinsonsetmessageid: <1269117270.13.0.417099891076.issue8188@psf.upfronthosting.co.za>
2010-03-20 20:34:28mark.dickinsonlinkissue8188 messages
2010-03-20 20:34:27mark.dickinsoncreate