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 pitrou
Recipients ced, exarkun, ezio.melotti, michael.foord, pitrou
Date 2011-12-18.16:17:34
SpamBayes Score 0.05264372
Marked as misclassified No
Message-id <1324225115.68.0.613476255742.issue7502@psf.upfronthosting.co.za>
In-reply-to
Content
The definition of __eq__ is wrong: it shouldn't compare the hashes since the hash() function isn't injective. For example, 0 and "" have equal hashes, yet they are unequal.
History
Date User Action Args
2011-12-18 16:18:35pitrousetrecipients: + pitrou, exarkun, ezio.melotti, ced, michael.foord
2011-12-18 16:18:35pitrousetmessageid: <1324225115.68.0.613476255742.issue7502@psf.upfronthosting.co.za>
2011-12-18 16:17:35pitroulinkissue7502 messages
2011-12-18 16:17:34pitroucreate