[Python-ideas] OrderedDict literals

Andrew Barnert abarnert at yahoo.com
Wed Mar 19 07:44:41 CET 2014


On Mar 18, 2014, at 17:54, Anthony Towns <aj at erisian.com.au> wrote:

> I was re-reading some old threads about ordereddict literals to see if
> any of them had gotten anywhere.

Skimming the linked thread, there were a bunch of messages with variations of "It might be easier to judge if you came up with a real use case", but nobody ever did.

So, do you have a real use case here? It might look better with headers from some protocol that need to be in order (except I can't think of any such protocol) or whatever you're hoping for than with examples like 'a' or 'foo' or 1.


More information about the Python-ideas mailing list