Author therve
Recipients exarkun, gvanrossum, therve
Date 2007-12-04.11:02:50
SpamBayes Score 0.125121
Marked as misclassified No
Message-id <1196766172.53.0.29603957109.issue1549@psf.upfronthosting.co.za>
In-reply-to
Content
I gave it a try. The following patch corrects 2 problems:
 * classes with only __lt__ and __gt__ defined are hashable
 * classes defining __eq__ get a meaningful exception.

I've restricted the hash_name_op to the bare minimum, but no tests
failed, so I supposed it was enough :).

Please review.
Files
File name Uploaded
1549_1.diff therve, 2007-12-04.11:02:50
History
Date User Action Args
2007-12-04 11:02:52thervesetspambayes_score: 0.125121 -> 0.125121
recipients: + therve, gvanrossum, exarkun
2007-12-04 11:02:52thervesetspambayes_score: 0.125121 -> 0.125121
messageid: <1196766172.53.0.29603957109.issue1549@psf.upfronthosting.co.za>
2007-12-04 11:02:52thervelinkissue1549 messages
2007-12-04 11:02:51thervecreate