OrderedDict data structure in bzrlib?
Jelmer Vernooij
vernooi1 at xs4all.nl
Mon Sep 19 21:34:03 UTC 2011
On Mon 19 Sep 2011 11:28:36 PM CEST, Kirill Müller wrote:
> I am planning to add a histedit command to the rewrite plugin [1], and
> a data structure like collections.OrderedDict [2] would help a lot.
> Unfortunately, OrderedDict is new in Python 2.7. Is there a similar
> data structure, compatible with all supported versions of Python,
> already available in bzrlib?
>
> I'd appreciate any feedback.
I'm pretty sure we don't have anything like that in bzrlib at the
moment. What in particular do you need the OrderedDict for? Perhaps
there are alternatives.
Cheers,
Jelmer
More information about the bazaar
mailing list