def _source(path, prev, text):
    '''Get source lines of a source file
       iff different from the previous one.
    '''
    if path == prev:
        t = text
    elif path:
        try:
            f = open(path, 'rt')
            t = f.readlines()
            f.close()
        except:
            t = []
    else:
        t = []
    return (path, t)
Get source lines of a source file
       iff different from the previous one.
    
recipes/Python/534147_backtrace2line__stack_traces_source_file_name/recipe-534147.py