modify python support