"Emanuele D'Arrigo" <man...@gmail.com> writes: > I just find it peculiar more than a nuisance, but I'll go to the > blackboard and write 100 times "never compare the identities of two > immutables". Thank you all!
That's the wrong lesson to learn from this. The right lesson to learn is, “Equality comparison is not the same operation as identity comparison. Use the right tool for the situation at hand.” -- \ “Facts are meaningless. You could use facts to prove anything | `\ that's even remotely true!” —Homer, _The Simpsons_ | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list