copy on write

Grant Edwards invalid at invalid.invalid
Fri Jan 13 13:15:00 EST 2012


On 2012-01-13, Neil Cerutti <neilc at norwich.edu> wrote:

> If you've ever implemented operator=, operator+, and operator+=
> in C++ you'll know how and why they are different.

That assumes that C++ programmers understand C++.

;)

> A C++ programmer would be wondering how either can work on immutable
> objects, and that's where Python's magical rebinding semantics come
> into play.

-- 
Grant Edwards               grant.b.edwards        Yow! Thousands of days of
                                  at               civilians ... have produced
                              gmail.com            a ... feeling for the
                                                   aesthetic modules --



More information about the Python-list mailing list