[Python-Dev] Re: redefining is

Greg Ewing greg at cosc.canterbury.ac.nz
Sun Mar 21 17:54:38 EST 2004


Casey Duncan <casey at zope.com>:

> The key of course it how you define state equality. In my view state
> equality means that if you were to serialize the objects to byte
> streams, which neutrally represented the entirety of the state,
> equivilant objects would have identical serializations.

But you need to decide what you mean by the object's "state"
before you can decide how to serialize it. So appealing to
serialization doesn't help here at all.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+



More information about the Python-Dev mailing list