'Load utility code from a file specified by from_file (relative to
Cython/Utility) and name util_code_name.  If from_file is not given,
load it from the file util_code_name.*.  There should be only one
file matched by this pattern.'

@classmethod
def load(cls, util_code_name, from_file=None, **kwargs):

    if ('::' in util_code_name):
        (from_file, util_code_name) = util_code_name.rsplit('::', 1)
    if (not from_file):
        utility_dir = get_utility_dir()
        prefix = (util_code_name + '.')
        try:
            listing = os.listdir(utility_dir)
        except OSError:
            import zipfile
            global __loader__
            loader = __loader__
            archive = loader.archive
            with closing(zipfile.ZipFile(archive)) as fileobj:
                listing = [os.path.basename(name) for name in fileobj.namelist() if os.path.join(archive, name).startswith(utility_dir)]
        files = [filename for filename in listing if filename.startswith(prefix)]
        if (not files):
            raise ValueError(('No    match    found    for    utility    code    ' + util_code_name))
        if (len(files) > 1):
            raise ValueError(('More    than    one    filename    match    found    for    utility    code    ' + util_code_name))
        from_file = files[0]
    utilities = cls.load_utilities_from_file(from_file)
    (proto, proto_block, impl, tags) = utilities[util_code_name]
    if tags:
        orig_kwargs = kwargs.copy()
        for (name, values) in tags.items():
            if (name in kwargs):
                continue
            if (name == 'requires'):
                if orig_kwargs:
                    values = [cls.load(dep, from_file, **orig_kwargs) for dep in sorted(values)]
                else:
                    values = [cls.load_cached(dep, from_file) for dep in sorted(values)]
            elif (not values):
                values = None
            elif (len(values) == 1):
                values = values[0]
            kwargs[name] = values
    if (proto is not None):
        kwargs['proto'] = proto
    if (proto_block is not None):
        kwargs['proto_block'] = proto_block
    if (impl is not None):
        kwargs['impl'] = impl
    if ('name' not in kwargs):
        kwargs['name'] = util_code_name
    if (('file' not in kwargs) and from_file):
        kwargs['file'] = from_file
    return cls(**kwargs)
