On Sun, 15 Jun 2008 07:39:05 pm Armin Ronacher wrote:
Steven D'Aprano <steve <at> pearwood.info> writes:
Conceptually, I would expect the following behaviour:
od = odict() od = 'spam' # insert a new key od = 'parrot' # insert a new key od = 'ham' # modify existing key od.items()
[(1, 'ham'), (2, 'parrot')]
That behavior is different to any ordered-dict implementation out there ;-)
I beg to differ. It's the same behaviour as in this implementation:
which I understand was written by you.