[issue16276] OrderedDict constructor do not keep items order

2013-02-16 Thread Eric Snow
Eric Snow added the comment: FWIW, I'm working toward making **kwargs an OrderedDict. First step: issue #16991 -- nosy: +eric.snow ___ Python tracker ___ __

[issue16276] OrderedDict constructor do not keep items order

2012-10-22 Thread Antoine Dechaume
Antoine Dechaume added the comment: I did read the docs before submitting, obviously my brain was not plugged in. I am sorry for the noise. -- ___ Python tracker ___

[issue16276] OrderedDict constructor do not keep items order

2012-10-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Ezio. -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue16276] OrderedDict constructor do not keep items order

2012-10-18 Thread Ezio Melotti
Ezio Melotti added the comment: This is documented at http://docs.python.org/dev/library/collections#collections.OrderedDict: """The OrderedDict constructor and update() method both accept keyword arguments, but their order is lost because Python’s function call semantics pass-in keyword argu

[issue16276] OrderedDict constructor do not keep items order

2012-10-18 Thread Antoine Dechaume
New submission from Antoine Dechaume: Example: from collections import OrderedDict print OrderedDict(a=0,b=1,c=2) I get OrderedDict([('a', 0), ('c', 2), ('b', 1)]) I expected OrderedDict([('a', 0), ('b', 1), ('c', 2)]) -- components: Library (Lib) messages: 173247 nosy: ADechaume prio