Message114117
OrderedDict.viewitems() is expected to preserve item order like items() do
>>> from collections import OrderedDict
>>> d = OrderedDict([(1, 2), ("a", "b")])
>>> d.items()
[(1, 2), ('a', 'b')]
But it does not:
>>> list(d.viewitems())
[('a', 'b'), (1, 2)] |
|
Date |
User |
Action |
Args |
2010-08-17 13:14:35 | luch | set | recipients:
+ luch |
2010-08-17 13:14:35 | luch | set | messageid: <1282050875.1.0.267221585344.issue9626@psf.upfronthosting.co.za> |
2010-08-17 13:14:33 | luch | link | issue9626 messages |
2010-08-17 13:14:33 | luch | create | |
|