Home
last modified time | relevance | path

Searched refs:f_globals (Results 1 – 25 of 30) sorted by relevance

12

/third_party/python/Lib/idlelib/
Dstackviewer.py69 modname = frame.f_globals["__name__"]
87 if frame.f_globals is not frame.f_locals:
90 item = VariablesTreeItem("<globals>", frame.f_globals, self.flist)
Ddebugger.py348 gdict = frame.f_globals
395 modname = frame.f_globals["__name__"]
Ddebugger_r.py128 dict = frame.f_globals
Drun.py632 while tb and tb.tb_frame.f_globals["__name__"] in ["rpc", "run"]:
/third_party/python/Lib/
Dcgitb.py68 if name in frame.f_globals:
69 return 'global', frame.f_globals[name]
70 if '__builtins__' in frame.f_globals:
71 builtins = frame.f_globals['__builtins__']
Dpdb.py109 if inspect.isframe(obj) and obj.f_globals is obj.f_locals:
371 globals = self.curframe.f_globals
498 ns = {**self.curframe.f_globals, **self.curframe_locals}
655 self.curframe.f_globals,
755 globs = frame.f_globals if frame else None
1102 globals = self.curframe.f_globals
1166 return eval(arg, self.curframe.f_globals, self.curframe_locals)
1174 return eval(arg, self.curframe.f_globals, self.curframe_locals)
1176 return eval(arg, frame.f_globals, frame.f_locals)
1253 lines = linecache.getlines(filename, self.curframe.f_globals)
[all …]
Dbdb.py207 self.is_skipped_module(frame.f_globals.get('__name__')):
573 line = linecache.getline(filename, lineno, frame.f_globals)
839 val = eval(b.cond, frame.f_globals, frame.f_locals)
868 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
Dtyping.py808 def_mod = sys._getframe(1).f_globals.get('__name__', '__main__') # for pickling
914 def_mod = sys._getframe(1).f_globals.get('__name__', '__main__')
1439 return sys._getframe(depth + 1).f_globals.get('__name__', default)
1451 return sys._getframe(depth).f_globals['__name__'] in ['abc', 'functools']
2299 module = sys._getframe(1).f_globals.get('__name__', '__main__')
2419 ns['__module__'] = sys._getframe(1).f_globals.get('__name__', '__main__')
Dwarnings.py316 globals = frame.f_globals
Dtraceback.py370 linecache.lazycache(filename, f.f_globals)
Dtrace.py536 filename = frame.f_globals.get('__file__', None)
Denum.py524 module = sys._getframe(2).f_globals['__name__']
/third_party/python/Include/cpython/
Dframeobject.h33 PyObject *f_globals; /* global symbol table (PyDictObject) */ member
/third_party/node/tools/inspector_protocol/jinja2/
Ddebug.py60 return '__jinja_template__' in self.tb.tb_frame.f_globals
180 template = tb.tb_frame.f_globals.get('__jinja_template__')
/third_party/python/Lib/asyncio/
Dbase_tasks.py71 line = linecache.getline(filename, lineno, f.f_globals)
/third_party/python/Tools/c-analyzer/c_common/
Dscriptutil.py53 while frame.f_globals['__name__'] != '__main__':
57 filename = frame.f_globals['__file__']
59 spec = frame.f_globals['__spec__']
/third_party/python/Objects/
Dframeobject.c18 {"f_globals", T_OBJECT, OFF(f_globals), READONLY},
599 Py_DECREF(f->f_globals); in frame_dealloc()
642 Py_VISIT(f->f_globals); in frame_traverse()
845 f->f_globals = Py_NewRef(con->fc_globals); in _PyFrame_New_NoTrack()
/third_party/jinja2/
Ddebug.py56 template = tb.tb_frame.f_globals.get("__jinja_template__")
/third_party/python/Lib/test/support/
Dwarnings_helper.py152 registry = frame.f_globals.get('__warningregistry__')
/third_party/skia/third_party/externals/jinja2/
Ddebug.py56 template = tb.tb_frame.f_globals.get("__jinja_template__")
/third_party/python/Lib/unittest/
Dresult.py205 return '__unittest' in tb.tb_frame.f_globals
/third_party/python/Python/
Dsuggestions.c235 dir = PySequence_List(frame->f_globals); in offer_suggestions_for_name_error()
Dceval.c1720 int r = _PyDict_ContainsId(f->f_globals, &PyId___ltrace__); in _PyEval_EvalFrameDefault()
2873 err = PyDict_SetItem(f->f_globals, name, v); in _PyEval_EvalFrameDefault()
2883 err = PyDict_DelItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
2921 v = PyDict_GetItemWithError(f->f_globals, name); in _PyEval_EvalFrameDefault()
2961 if (PyDict_CheckExact(f->f_globals) in _PyEval_EvalFrameDefault()
2969 ((PyDictObject *)f->f_globals)->ma_version_tag in _PyEval_EvalFrameDefault()
2983 v = _PyDict_LoadGlobal((PyDictObject *)f->f_globals, in _PyEval_EvalFrameDefault()
3008 ((PyDictObject *)f->f_globals)->ma_version_tag; in _PyEval_EvalFrameDefault()
3021 v = PyObject_GetItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
4294 PyFunction_NewWithQualName(codeobj, f->f_globals, qualname); in _PyEval_EvalFrameDefault()
[all …]
D_warnings.c856 globals = f->f_globals; in setup_context()
/third_party/python/Lib/unittest/test/
Dtest_result.py436 f_globals = {} variable in Test_TestResult.testStackFrameTrimming.Frame.tb_frame
440 Frame.tb_frame.f_globals['__unittest'] = True

12