On Jan 31, 11:48 am, Grant Edwards <[EMAIL PROTECTED]> wrote: > > I'm not sure what you're asking. AFAIK, the main reason that > strings are immutable is so they can be used as dict keys. >
I think its more fundamental than that. If strings were mutable you would be constantly worrying about whether changing a string here might affect something there, or whether to write x = y or x = copy.copy(y). Or condsider -- http://mail.python.org/mailman/listinfo/python-list