[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
priority: normal
severity: normal
status: open
title: OrderedDict constructor do not keep items order
type: behavior
versions: Python 2.7

___
Python tracker 
<http://bugs.python.org/issue16276>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue16276>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com