Is 'everything' a refrence or isn't it?

Mike Meyer mwm at mired.org
Sat Jan 14 23:26:40 EST 2006


Steven D'Aprano <steve at REMOVETHIScyber.com.au> writes:
> On Sat, 14 Jan 2006 18:26:41 -0500, Mike Meyer wrote:
>> If two objects ARE the same value, then they should be the same
>> object. 
> You are assuming that values are unique, and that therefore is X "is" (in
> the English sense, not the Python sense) some value, then no other thing Y
> can also be the same value.

I would say that's a valid definition of value.

> I have no problem with that. Some objects are mutable and can change their
> value

If the object *is* the value, how can it change to be a different
value without also changing to be a diffent object?

      <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list