copy on write

Devin Jeanpierre jeanpierreda at gmail.com
Fri Jan 13 08:50:23 EST 2012


On Fri, Jan 13, 2012 at 7:30 AM, Chris Angelico <rosuav at gmail.com> wrote:
> It seems there's a distinct difference between a+=b (in-place
> addition/concatenation) and a=a+b (always rebinding), which is sorely
> confusing to C programmers. But then, there's a lot about Python
> that's sorely confusing to C programmers.

I think this is confusing to just about everyone, when they first encounter it.

-- Devin



More information about the Python-list mailing list