Home
last modified time | relevance | path

Searched refs:f_lineno (Results 1 – 25 of 41) sorted by relevance

12

/third_party/python/Lib/
Dbdb.py212 return frame.f_lineno >= self.stoplineno
226 lineno = frame.f_lineno
297 lineno = frame.f_lineno + 1
538 stack.append((f, f.f_lineno))
786 if b.line != frame.f_lineno:
800 b.func_first_executable_line = frame.f_lineno
802 if b.func_first_executable_line != frame.f_lineno:
868 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
869 print('+++', fn, frame.f_lineno, name, ':', line.strip())
Dpdb.py258 or frame.f_lineno <= 0):
990 if lineno <= self.curframe.f_lineno:
1088 self.curframe.f_lineno = arg
1245 first = max(1, self.curframe.f_lineno - 5)
1297 current_lineno = frame.f_lineno
Dtrace.py555 lineno = frame.f_lineno
570 lineno = frame.f_lineno
582 lineno = frame.f_lineno
Dwarnings.py318 lineno = frame.f_lineno
Dtraceback.py318 yield f, f.f_lineno
/third_party/python/Lib/test/
Dtest_sys_settrace.py317 self.events.append((frame.f_lineno, event))
323 self.events.append((frame.f_lineno, event))
1223 frame.f_lineno == f.__code__.co_firstlineno + 2):
1286 self.firstLine = frame.f_lineno - 1
1288 frame.f_lineno == self.firstLine + self.jumpFrom):
1296 frame.f_lineno = self.firstLine + self.jumpTo
1298 frame.f_lineno = self.jumpTo
1314 previous_frame.f_lineno = previous_frame.f_lineno
Dtest_frame.py101 lines.append(f.f_lineno-f.f_code.co_firstlineno)
183 del f.f_lineno
Dtest_bdb.py323 lineno = self.frame.f_lineno
Dtest_exceptions.py2444 None if frame.f_lineno is None else
2445 frame.f_lineno-frame.f_code.co_firstlineno
Dtest_tracemalloc.py27 lineno = frame.f_lineno + lineno_delta
Dtest_compile.py860 self.assertEqual(frame.f_lineno-frame.f_code.co_firstlineno, lastline)
/third_party/python/Include/cpython/
Dframeobject.h45 int f_lineno; /* Current line number. Only valid if non-zero */ member
/third_party/python/Lib/asyncio/
Dbase_tasks.py64 lineno = f.f_lineno
Dcoroutines.py262 lineno = coro_frame.f_lineno
/third_party/python/Objects/
Dframeobject.c45 if (f->f_lineno != 0) { in PyFrame_GetLineNumber()
46 return f->f_lineno; in PyFrame_GetLineNumber()
493 f->f_lineno = 0; in frame_setlineno()
854 f->f_lineno = 0; in _PyFrame_New_NoTrack()
Dlnotab_notes.txt217 Why do we set f_lineno when tracing, and only just before calling the trace
224 f_lineno when tracing, one can report a line number different from that
/third_party/python/Lib/idlelib/
Ddebugger.py50 lineno = frame.f_lineno
264 lineno = frame.f_lineno
/third_party/python/Tools/gdb/
Dlibpython.py869 self.f_lineno = int_from_int(self.field('f_lineno'))
947 return self.f_lineno
/third_party/python/Python/
Dtraceback.c283 frame->f_lineno = lineno; in _PyTraceback_Add()
Dceval.c5460 frame->f_lineno = frame->f_code->co_firstlineno; in call_trace()
5464 …frame->f_lineno = _PyCode_CheckLineNumber(frame->f_lasti*sizeof(_Py_CODEUNIT), &trace_info->bounds… in call_trace()
5467 frame->f_lineno = 0; in call_trace()
6472 if (line != frame->f_lineno || frame->f_lasti < instr_prev) { in maybe_dtrace_line()
6474 frame->f_lineno = line; in maybe_dtrace_line()
/third_party/python/Misc/NEWS.d/
D3.7.0b3.rst71 Fixed jumping out of "with" block by setting f_lineno.
D3.10.0a5.rst132 frame.f_lineno is correct even if frame.f_trace is set to True
D3.10.0a3.rst73 PEP 626: After a return, the f_lineno attribute of a frame is always the
218 Improved accuracy of line tracing events and f_lineno attribute of Frame
D3.9.0b1.rst173 Setting frame.f_lineno is now robust w.r.t. changes in the
/third_party/python/Lib/test/test_asyncio/
Dtest_events.py2226 create_lineno = sys._getframe().f_lineno + 1
2253 lineno = sys._getframe(1).f_lineno - 1
2369 create_lineno = sys._getframe().f_lineno + 1

12