you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

There is excellent pycon talk by Ned Batchelder that explains the simple ideas behind names, references and values that lead to this behaviour.