michael urman phwgmigmailcom wed apr 2 2008 139 martin v löwis wrote id say clear two reasons one pretty much never use keys loop use dictionary ok consider items claim common use items iterate keys clearly behave items biggest concern whether following works k enumeratedkeys 2 del dk code works py3k concerns whether keys etc return snapshots live views code instead requires snapshot listd listdkeys provides im lightly worried repeated source error folks recently migrated 2x 3x havent really internalized keys longer returns copy light worry plenty people make mistake 2x leaving keys entirely hardly think light worry worth changing behavior decided months ago michael urman _______________________________________________ python3000 mailing list python3000pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom thu 07 aug 2008 003049 0500 python3000 spooky behavior dictitems friends