As far as I can see, people tend to agree that this is useful. So, unless someone steps up to oppose this, I'll file a feature request to the Python bug tracker.

Will propose an implementation based on ordered dict (that will be in 2.7/3.1 anyway).

On Fri, Mar 27, 2009 at 9:29 PM, Joel Bender <jjb5@cornell.edu> wrote:
It's also possible that the order matters. I think an iterable of tuples (such as returned by dict.items(), but any iterable will do) would be an okay interface.

Ordered dict then :-)

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
http://mail.python.org/mailman/listinfo/python-ideas