Modify ↓
Ticket #121 (new task)
Opened 4 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
Note: See
TracTickets for help on using
tickets.
