FWIW I think your analysis is spot on what I am looking for as well Kirill.
With regards to collections.OrderedDict I am not sure of the conventions for the bzr project code, but definitely Ubuntu 11.10 will ship both Python 2 and 3 versions with the desired class, and since this is in an extension any rules may be laxed? Otherwise look at http://stackoverflow.com/questions/1617078/ordereddict-for-older-versions-of-python
FWIW I think your analysis is spot on what I am looking for as well Kirill.
With regards to collections. OrderedDict I am not sure of the conventions for the bzr project code, but definitely Ubuntu 11.10 will ship both Python 2 and 3 versions with the desired class, and since this is in an extension any rules may be laxed? Otherwise look at http:// stackoverflow. com/questions/ 1617078/ ordereddict- for-older- versions- of-python