[Python-3000] PEP 3106: Revamping dict.keys(), .values() and .items()

Tony Lownds tony at PageDNA.com
Sat Dec 23 18:05:51 CET 2006


On Dec 22, 2006, at 9:49 PM, Guido van Rossum wrote:
> - Talin asked for values to be list-like ... I really don't want
> them to be list-like since that implies an ordering

Will iter(keys()) and iter(values()) have the same relative order, as  
they do
today?

Ie, d == dict(zip(d.keys(), d.values()))

-Tony




More information about the Python-3000 mailing list