Scott David Daniels wrote:
Daniel Israel wrote:
I am very confused by the following behavior.
I have a base class which defines __eq__. I then have a subclass
which does not. When I evaluate the expression a==b, where a and b
are elements of these classes, __eq__ is always called with the
Daniel Israel wrote:
I am very confused by the following behavior.
I have a base class which defines __eq__. I then have a subclass
which does not. When I evaluate the expression a==b, where a and b
are elements of these classes, __eq__ is always called with the
subclass as the first argume
On Fri, 22 Aug 2008 14:37:06 -0600
"Daniel Israel" <[EMAIL PROTECTED]> wrote:
> I am very confused by the following behavior.
>
> I have a base class which defines __eq__. I then have a subclass
> which does not. When I evaluate the expression a==b, where a and b
> are elements of these classe
I am very confused by the following behavior.
I have a base class which defines __eq__. I then have a subclass
which does not. When I evaluate the expression a==b, where a and b
are elements of these classes, __eq__ is always called with the
subclass as the first argument, regardless of the o