More assignment/copy novice confusion

Hans Nowak wurmy at
Mon Dec 3 14:29:58 CET 2001

> Arthur Siegel wrote:

[binding and references to lists]
> All of this is far from obvious, but of course does
> in the end make perfect sense.

While it is a continuous source of confusion for newbies,
it is only far from obvious if you're used to the implicit
copying of other languages. But in fact, many other
languages don't implicitly copy either for more complex
objects... if you hack up a linked list in C, it doesn't
copy itself magically... neither do arrays or what C calls
"strings". So I think Python's concept isn't all that
far-fetched... in fact, it might be more intuitive than


More information about the Python-list mailing list