On 2006-01-14, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Thu, 12 Jan 2006 16:11:53 -0800, rurpy wrote: > >> It would help if you or someone would answer these >> five questions (with something more than "yes" or "no" :-) >> >> 1. Do all objects have values? > > All objects ARE values. Some values themselves are complex objects > which in turn contain other values, e.g. if I execute:
I don't agree with this wording. If a mutable object mutates it is still the same object but is's value has changed. So I would agree with: objects have values. > L = [None, 1, "hello"] > > I have created a name 'L' which is bound to ("has the value of") a list > with three items. The first item has the value of ("is the object") None, > the second has the value of ("is the object") 1, and the third is the > string "hello". But if you execute L.append(False) then L is still the same object but it's value is different. -- Antoon Pardon -- http://mail.python.org/mailman/listinfo/python-list