def __setitem__(self, key, value):
        try:
            index = self.__keyPositions[key]
        except __HOLE__:
            index = len(self.__orderedKeys)
            self.__orderedKeys += [key]
            self.__keyPositions[key] = index

        dict.__setitem__(self, key, value)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/grizzled/grizzled/collections/dict.py/OrderedDict.__setitem__