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 mark.dickinson, skrah
Date 2010-11-08.15:42:20
SpamBayes Score 5.8819505e-06
Marked as misclassified No
Message-id <1289230946.06.0.764716139828.issue10356@psf.upfronthosting.co.za>
In-reply-to
Content
Are there situations where this is a problem?

I don't think that there's any requirement that the __hash__ method for a user-defined Python type not return -1.  (It's also allowed to return values outside the range of hash values;  these get automatically rehashed to values within the range.)
History
Date User Action Args
2010-11-08 15:42:26mark.dickinsonsetrecipients: + mark.dickinson, skrah
2010-11-08 15:42:26mark.dickinsonsetmessageid: <1289230946.06.0.764716139828.issue10356@psf.upfronthosting.co.za>
2010-11-08 15:42:20mark.dickinsonlinkissue10356 messages
2010-11-08 15:42:20mark.dickinsoncreate