Why keep identity-based equality comparison?

Mike Meyer mwm at mired.org
Wed Jan 11 09:55:22 EST 2006

Antoon Pardon <apardon at forel.vub.ac.be> writes:
> Op 2006-01-10, Mike Meyer schreef <mwm at mired.org>:
>>> Now you can take the practical option and decide that programmatically
>>> it make no sense to compare a specific couple of values and throw an
>>> exception in this case, but it doesn't matter much which test you are
>>> conducting at that point.
>> Can you provide a case where having a test for equality throw an
>> exception is actually useful?
> I'm not going to bother with that.

Since you're being vague about what you want, and won't provide
examples to show why you want things to behave whatever way you want,
I can't really say much else about it.

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