A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-November/057926.html below:

[Python-Dev] For Python 3k, drop default/implicit hash, and comparison

[Python-Dev] For Python 3k, drop default/implicit hash, and comparisonJim Fulton 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

-- 
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 mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4