def _split_path(path):
    dirname, filename = os.path.split(path)
    basename, ext = os.path.splitext(filename)
    return (dirname, basename, ext)
Works exactly as a wrapper to tempfile.NamedTemporaryFile except that
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/actorstore/store.py/_split_path--crossover with--dataset/ETHPy150Open machinalis/iepy/tests/factories.py/NamedTemporaryFile23