[Edu-sig] Fw: Python sequences by reference - how to make

Guido van Rossum guido@python.org
Wed, 25 Sep 2002 10:22:38 -0400


> Is it possible that "copy" clearly in the game as a built_in makes us
> slightly more amphibious?

The only example that came up here so far was the issue of
initializing a multi-dimensional array properly, which cannot be
solved with copying alone.

Copying issues generally crop up with lists.  Copying a list is done
with [:].  You can't get much more built-in than that.

--Guido van Rossum (home page: http://www.python.org/~guido/)