Return a list of (frame, lineno) in a stack trace and a size. List starts with original calling frame, if there is one. Size may be number of frames above or below f.
bdb/Bdb.get_stack
Bdb.get_stack