Modify

Ticket #121 (new task)

Opened 5 years ago

Support OrderedDict

Reported by: anonymous Owned by: xi
Priority: normal Component: pyyaml
Severity: normal Keywords:
Cc:

Description

Currently, !!omap creates a list of pairs. But in Py2.7 and Py3.1, it is possible to create an actual ordered dictionary.  http://docs.python.org/dev/py3k/whatsnew/3.1.html#pep-372-ordered-dictionaries

A version of OrderedDict? is available that runs on earlier versions of Python as well.  http://code.activestate.com/recipes/576693/

Attachments

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will be changed from xi. Next status will be 'new'
The owner will be changed from xi to anonymous. Next status will be 'assigned'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.