Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> writes: > but I call that a feature, not a bug. If you want an immutable constant, > use a tuple, not a list.
Nope: L = ([1,2],[3,4]) # tuple L[0].append(5) # mutate L, in some reasonable sense of "mutate" -- http://mail.python.org/mailman/listinfo/python-list