118
118
if frame_name.endswith('demandload'):
119
119
# If this was demandloaded, we have 3 frames to ignore
122
122
frame_name = frame.f_globals.get('__name__', '<unknown>')
123
123
elif frame_name.endswith('lazy_import'):
124
124
# If this was lazily imported, we have 3 frames to ignore
127
127
frame_name = frame.f_globals.get('__name__', '<unknown>')
128
128
frame_lineno = frame.f_lineno
130
this = stack_add(name+extra, frame_name, frame_lineno, scope_name)
130
this = stack_add(extra + name, frame_name, frame_lineno, scope_name)