Python Dict SetDefault List

newdata = {}
for k, v in DATA_SOURCE:
    newdata.setdefault(k, []).append(v)
Rusty Gun