[Python-Dev] Customization docs
Guido van Rossum
guido@python.org
Sat, 01 Jun 2002 09:34:01 -0400
> > > How does Python decide that sequence elements are immutable?
> >
> > Huh? It doesn't. If they were mutable, had you expected something
> > else?
>
> Actually, yes. I had expcected that Python would know it didn't need
> to "put the thing back in", since the thing gets modified in
> place. Knowing that it doesn't work that way clears up a lot.
Still, I don't understand which other outcome than [1, 6, 5] you had
expected.
--Guido van Rossum (home page: http://www.python.org/~guido/)