Just another one-liner I came up with:
datetime(year=dt.year + (dt.month==12), month=1 + dt.month % 12, day=1)