Copy operator (was list.remove for Noivces)
Arthur Siegel
ajs at ix.netcom.com
Wed Nov 28 19:49:34 EST 2001
Andreas writes -
>Well, I never had a problem with understanding the Python semantics. There
>are other languages that do have similiar semantics. (Actually most OO
>languages use only object references, not values)
I am asking you to imagine coming to Python as a blank slate. I happen not
to need to imagine it. I am quite sure I would have no trouble with the
Python semantics, if I had the concepts. It is getting the concepts down,
*with
Python*, that is the subject matter.
>Python 2.2b1 Standard library:
>.py size: 183031 6110941
>import copy: 9 times
>shallow [:] copy: 75 times
How many times did they make the wrong choice between [:] and
=, or some such. I expect None. That's where I want to be.
Art
More information about the Python-list
mailing list