c: some change, python: some changes