2006-05-10

Identity Crisis

Just to get all techy for a moment, a recent thread on Python-Forum involved a newby who felt he had spotted some weirdness in how the Python programming language handles variable assignment and particularly when working with lists (and the '+=' operator). It was fairly clear what was going on, but I couldn't find anything in the official documentation to cover the 'list += ...' behaviour. Happily though I have now found an article which nicely covers the area in question. I'm basically posting it here as a note to remember this site myself.

Over the last year and a half I have really grown to love Python as a language. Occasionally there is weirdness but in general those bits do actually make sense when I sit and think for a while.

No comments: