Only works on Python 2.7+
Closed this issue · 1 comments
rouge8 commented
OrderedDict is new in 2.7.
There's an MIT licensed drop-in replacement for 2.4+ available at http://code.activestate.com/recipes/576693-ordered-dictionary-for-py24/ and on PyPi.
I'd fork/pull request and throw that in, but that either adds a dependency or quadruples the size of formd
, so I thought I'd raise it here first.
seth-brown commented
Thanks, nice catch. I updated the documentation to indicate a 2.7 dependency. I have some other changes that will require 2.7, so it makes sense to just update the docs and not add backward compatibility.