Mel Wilson wrote:
In article <[EMAIL PROTECTED]>,
Steven Bethard <[EMAIL PROTECTED]> wrote:
I believe what Peter Otten was pointing out is that calling __eq__ is
not the same as using ==, presumably because the code for == checks the
types of the two objects and returns False if they're different before
the __eq__ code ever gets called.
Doesn't seem to:
[snip]
Check his example:
http://mail.python.org/pipermail/python-list/2004-November/252660.html
--
http://mail.python.org/mailman/listinfo/python-list