list vs tuple

Neil Schemenauer nas at python.ca
Fri Mar 30 17:25:33 EST 2001


Michael Prager wrote:
> That behavior is not in agreement with the "mental model" used
> by many other languages, so I would think it a major pitfall for
> beginners -- at least, it was for this beginner.

Have you used other languages before coming to Python?  I would
think it would be confusing to people who were used to languages
that have a reference/value inconsistency.  Python is totally
consistent (everything is a object, all names refer to objects).

  Neil




More information about the Python-list mailing list