repair python to be compatible with 26