def getinnerframes(tb, context=1):
    framelist = []
    while tb:
        framelist.append((tb.tb_frame,) + getframeinfo(tb, context))
        tb = tb.tb_next
    return framelist
Try reading a record.
dataset/ETHPy150Open cournape/Bento/bento/compat/inspect.py/getinnerframes--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/files/records.py/RecordsReader.__try_read_record