add more python support in branch c