text_combined: benjamin peterson mfphjffbrfsvyrjfgmailcom tue apr 1 2008 525 pm paul moore wrote 01042008 martin v löwis wrote really bugs state affairs consider python 2 dictitems safe free surprises longer feel way 3 really fact want get items keys values dict simplest thing longer safest thing dont want belabor point much since isnt really place judge dict views feel like special case breaks rules feel contrary 2x keys safe 3x keys iterate keys dictionary want want keys 2x could always happen dictionary changes behind id either iterate keys see keys arent actually dictionary anymore 3x dictionary views much safer oddity 3x keys plausible retain reference dkeys change alter 2x dkeys static diterkeys practical purposes something retain 3x dkeys action distance unfamiliar cant think example type view semantics 2x least core numpy time believe suspect view semantics become less surprising time think fair point something new get used personally find less surprising seems logical whatever get dictitems reflect current state dictionary want static better explicit say listdictkeysor dictvalues paul _______________________________________________ python3000 mailing list python3000pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000musiccomposition40gmailcom cheers benjamin peterson wed 06 aug 2008 235244 0500 python3000 spooky behavior dictitems friends