Hashability of classes, old and new

Tim Peters tim.one at comcast.net
Mon Feb 16 11:49:30 EST 2004


[François Pinard]
> Hi, people.  I observe that there is a difference in hashability
> between old-style and new-style instances, when they are comparable.
> I wonder what I meaning I should make out of this.

You're looking at bugs, and new-style behavior will change.  See:

    "New style classes and __hash__"
    http://www.python.org/sf/660098





More information about the Python-list mailing list