def rawstack(depth = 1):
    data = []
    
    while depth is not None:
        try:
            f = sys._getframe(depth)
        except __HOLE__:
            depth = None
        else:
            data.append((
                '/'.join(f.f_code.co_filename.split('/')[-2:]),
                f.f_code.co_name,
                f.f_lineno))
            depth += 1

    return data
dataset/ETHPy150Open slideinc/notifier/notifier/pyinfo.py/rawstack