Why does converting a ChainMap to a dictionary reverse the order of the items?
Here is an example.
>>> d = [{'a': 1}, {'b': 2}, {'c': 3}]
>>> ChainMap(*d)
ChainMap({'a': 1}, {'b': 2}, {'c': 3})
>>> dict(ChainMap(*d))
{'c': 3, 'b': 2, 'a': 1}
I can write alternate code to combine the dictionaries that does not reverse.
But, I would like to understand why this reversal happens for ChainMap.
It seems it would be desirable to keep the order.