[Python-Dev] For Python 3k, drop default/implicit hash, and comparison
jim at zope.com
Sun Nov 6 21:13:23 CET 2005
Guido van Rossum wrote:
> On 11/6/05, Jim Fulton <jim at zope.com> wrote:
> Except that I really don't think that there's anything wrong with a
> default __eq__ that uses object identity. As Martin pointed out, it's
> just too weird that an object wouldn't be considered equal to itself.
> It's the default __hash__ and __cmp__ that mess things up.
Good point. I agree.
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Python-Dev