[python3] Replace sys.maxint with sys.maxsize