<br>Hey All,<br><br>We were exploring new features of Python 3.0 at our Tucson User's Group<br>here in Tucson (TuPLE: Tucson Python Language Enthusiasts), in particular,<br>the OrderedDict.  See <br><br><a href="http://groups.google.com/group/TuPLEgroup/browse_thread/thread/40af73f8e194a4f8">http://groups.google.com/group/TuPLEgroup/browse_thread/thread/40af73f8e194a4f8</a><br>
<br>Has there been any discussion about making a "better" OrderedDict literal? I did<br>some googling and didn't find anything.<br><br>Basically, the thought was there might be a place for a slightly better literal for OrderedDict<br>
in Python 3.0<br> od = OrderedDict([('a',1),('b':2)])  # seems clumsy<br><br>The two ideas floated were:<br>  od = ['a':1, 'b':2, 'c':3]    # [ ] imply order, the ':' implies key-value<br>
<br>or<br><br>  od = o{'a':1, 'b':2, 'c':3}   # { } imply dict, o implies order<br><br>Apologies if this is the wrong place for this discussion.  There has been<br>a lot of opinions flying here at work and at TuPLE which I will be happy<br>
to share if this is the right place. ;)<br><br>  Gooday,<br><br>  Richie<br><br>