Steven D'Aprano <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...
> Can anyone think of some good, easy to understand examples of where > Python's name/object model differs from the variable/value model? a = b = [ 1 ] a and b are _not_ two variables, each with [ 1 ] as value, but just two names for the same object (a list). In other variable-based languages, the above is equivalent to: a = [ 1 ] b = [ 1 ] in Python it is not. .TM. -- http://mail.python.org/mailman/listinfo/python-list