➜

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 arigo
Recipients
Date 2005-11-07.08:55:31
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Bound methods of built-in objects have a strange
__cmp__/__hash__ combination: they compare equal only
if their __self__ are identical, but they hash based
on the hash of __self__ instead of its
_Py_HashPointer().

Built-in methods should consistently be based on the
identity *or* the equality of __self__.  For reference,
regular instance methods are based on the equality.  So
I propose to fix built-in method objects in the same
way.
History
Date User Action Args
2007-08-23 14:36:03adminlinkissue1350060 messages
2007-08-23 14:36:03admincreate