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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, gvanrossum, jek
Date 2008-03-04.21:56:08
SpamBayes Score 0.0006323528
Marked as misclassified No
Message-id <1204667769.92.0.325915798071.issue2235@psf.upfronthosting.co.za>
In-reply-to
Content
This issue is similar to issue1549. Note that only new-style classes are
concerned.

I think the change was intentional. Guido, do you confirm?

However there should be some documentation about it, a NEWS entry or an
item in the "porting to 2.6" section.

The initial modification appeared in the py3k branch (r51454):
"""
Change the way __hash__ is inherited; when __eq__ or __cmp__ is
overridden but __hash__ is not, set __hash__ explicitly to None (and
tp_hash to NULL).
"""
History
Date User Action Args
2008-03-04 21:56:10amaury.forgeotdarcsetspambayes_score: 0.000632353 -> 0.0006323528
recipients: + amaury.forgeotdarc, gvanrossum, jek
2008-03-04 21:56:09amaury.forgeotdarcsetspambayes_score: 0.000632353 -> 0.000632353
messageid: <1204667769.92.0.325915798071.issue2235@psf.upfronthosting.co.za>
2008-03-04 21:56:08amaury.forgeotdarclinkissue2235 messages
2008-03-04 21:56:08amaury.forgeotdarccreate