@staticmethod
    def load_feature(space, path, orig_path):
        if not os.path.exists(path):
            raise space.error(space.w_LoadError, orig_path)

        try:
            f = open_file_as_stream(path, buffering=0)
            try:
                contents = f.readall()
            finally:
                f.close()
        except __HOLE__ as e:
            raise error_for_oserror(space, e)

        space.execute(contents, filepath=path)
dataset/ETHPy150Open topazproject/topaz/topaz/modules/kernel.py/Kernel.load_feature