Steven D'Aprano <ste...@remove.this.cybersource.com.au> wrote: > It's only incoherent if you need equality to be an equivalence relation. > If you don't, it is perfectly reasonable to declare that i"abc" equals > "abc".
Right! And if you didn't want an equivalence relation, then `==' will suit you fine. The problem is that some applications seem to /want/ an equivalence relation, and one that's more useful (i.e., less discriminating) than `is'. -- [mdw] -- http://mail.python.org/mailman/listinfo/python-list