Confusion over Python += operator¶
I found this great article breaking down the bytecode that contributes to some of the odd behavior about the += operator in Python. The moral of the story is when confused try looking at the bytecode for more answers.
Also, I previously discussed confusion related to lists and the += operator. It's worth a quick read if this sort of stuff interests you.