Why keep identity-based equality comparison?

Mike Meyer mwm at mired.org
Sat Jan 14 22:20:31 CET 2006


Antoon Pardon <apardon at forel.vub.ac.be> writes:
>> If you
>> want to argue that the builtin sets should do that, you can - but
>> that's unrelated to the question of how the comparison operators
>> behave for the rest of the bulitin types.
> What I argue is that there is no single order for a specific type.

I think that depends on your definition of type, but let it go.

> There can be an order that is most usefull in general but which order
> is usefull at a specific point depends on the context.

Yes. So what? Does this fact suggest some change to Python that would
improve it? If so, you need to mention it. If not, why bring it up at
all?

        <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list