Appending to list in Python dictionary,"dates_dict.setdefault(key, []).append(date)"