"Delaney, Timothy (Tim)" <[EMAIL PROTECTED]> writes:
> If you want an independent data set, you have to take a snapshot. For
> the above, that's doing:
> 
>     k0 = list(d.keys())

I don't understand.  Why have .keys() at all, if it doesn't get you
an independent data set?  If all you want is to iterate through the
dict, you can already do that:

  for k in d: ....
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to