[Python-ideas] Python Isn't Perfect: adding a 'gotchas' section to the tutorial

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Dec 12 22:13:22 CET 2011

Masklinn wrote:

> Of course technically that copy could very well be performed
> "on write". This would significantly complexify the runtime as well.

It could also lead to a lot of gratuitous inefficiency
in programs, as people got into the habit of modifying
anything passed to them in the knowledge that it
wouldn't do any harm, but without considering the cost
of all the implicit copying that it caused.


More information about the Python-ideas mailing list