sturlamolden <sturlamol...@yahoo.no> writes: > Actually I would consider this to be a bug. The tuple is immutable, > but no mutation of the tuple is ever attempted.
That's a common misconception about how += works in Python. It simply *always* rebinds. Once you grok that, everything else follows. -- http://mail.python.org/mailman/listinfo/python-list