>> That's a sorted dict. PEP 3115 wants an insertion-ordered dict. >> You're not the first to confuse them. ;) > > Hmmm, I'd not come across that terminology distinction before. > I guess I'll have to rename mine then.
I think "insertion-ordered" is over-specification, just to make the distinction clear. Most of the time, people mean "ordered dictionary" to say "keys are in a fixed order" - typically insertion order. When they want to express that the keys ought to be sorted, they call it "sorted dictionary". Regards, Martin _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
