Kris Schnee wrote: > When all else fails, copy.deepcopy() seems to make Python understand, "I > want this to have _the same value_ as X now has, not to be a _reference_ > to X." > > Kris
I believe Ethan has already covered all the standard ways to work around this (i.e. list( ), copy module, [:]), but I think that it's worth pointing out that python is actually quite consistent here: variables are *always* references. Liberal use of the id( ) function can illustrate such. --------- John Krukoff [EMAIL PROTECTED]
