'Return a list of all values matching the key (may be an empty list)'

def getall(self, key):

    result = []
    for (k, v) in self._items:
        if ((type(key) == type(k)) and (key == k)):
            result.append(v)
    return result
