[Python-Dev] Re: redefining is (original) (raw)
Andrew Koenig ark-mlist at att.net
Fri Mar 19 14:17:08 EST 2004
- Previous message: [Python-Dev] Re: redefining is
- Next message: [Python-Dev] Re: redefining is
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Objects are equivilant if they are the same type and their states are the same
Objects are interchangable if they are equivilant and their states will always be the same (i.e., changes to one are always reflected in the other) or if they are equivilant and immutable.
I haven't distinguished between equivalent and interchangeable. I think that most people would consider "equivalent" and "interchangeable" to mean the same thing.
Objects are identical if they are physically the same (in the sense of 'is' currently)
Yes.
There is also a fourth type:
Objects are equal if ob1.eq(ob2) returns true.
Right.
- Previous message: [Python-Dev] Re: redefining is
- Next message: [Python-Dev] Re: redefining is
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]