'A dictionary with ordered keys (first-in last-out).'

def __init__(self, items=[]):

    dict.__init__(self)
    self._o = []
    if isinstance(items, dict):
        items = reversed(items.items())
    for (k, v) in items:
        self.__setitem__(k, v)
