OrderedDict data structure in bzrlib?

Gordon Tyler gordon at doxxx.net
Mon Sep 19 22:50:52 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
On 9/19/2011 5:34 PM, Jelmer Vernooij wrote:
> 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.
>
 
There is this: http://pypi.python.org/pypi/ordereddict
 
Ciao,
Gordon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iQEcBAEBAgAGBQJOd8dMAAoJEIrPJfWinA2uQWQH/Rxjg94vYxtxsw8g87LOsr6h
LRcLvE58Szm2I0huWTeE8xK+e6L44xsMktwCDa1QwzPE80KVSWjtvgcEbUl4ryy7
c4ZnWzDLJZ30YLYONWGmj3ltdnBAaTuMZ41rUPT3Y4APXVot6LMCpL2Bx9bnHuY7
rgBQa5gElB5O30LaUQUcmfg5Uxv7I39x9LUhGyoDgjj5IvQ0RByJW6Vp6IFRhsSA
eFhi+lPyfvGxqNXkqZZRGEOLsHZ5n+0Igquy1tkSE79JcwCjO6xBV6YWXf+n8+21
AYDuDn/fyb9LLvFg7xhajT28ymkk7Cl+MMs38NTcrXqAAUclHEusXSWMIZJ9ytI=
=57n1
-----END PGP SIGNATURE-----




More information about the bazaar mailing list