def get_importer(path_item):
    try:
        importer = sys.path_importer_cache[path_item]
    except KeyError:
        for path_hook in sys.path_hooks:
            try:
                importer = path_hook(path_item)
                break
            except ImportError:
                pass
        else:
            importer = None
        sys.path_importer_cache.setdefault(path_item, importer)

    if importer is None:
        try:
            importer = ImpImporter(path_item)
        except ImportError:
            importer = None
    return importer
Resultant algorithm in `K[X]` using subresultant PRS.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/pkgutil.py/get_importer--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/polys/euclidtools.py/dmp_prs_resultant