Home
last modified time | relevance | path

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

123

/external/python/cpython3/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)
/external/python/cpython2/Lib/idlelib/
DStackViewer.py67 modname = frame.f_globals["__name__"]
85 if frame.f_globals is not frame.f_locals:
88 item = VariablesTreeItem("<globals>", frame.f_globals, self.flist)
/external/python/cpython2/Lib/
Dcgitb.py69 if name in frame.f_globals:
70 return 'global', frame.f_globals[name]
71 if '__builtins__' in frame.f_globals:
72 builtins = frame.f_globals['__builtins__']
Dtraceback.py69 line = linecache.getline(filename, lineno, f.f_globals)
101 line = linecache.getline(filename, lineno, f.f_globals)
306 line = linecache.getline(filename, lineno, f.f_globals)
Dpdb.py224 globals = self.curframe.f_globals
388 self.curframe.f_globals,
480 globs = self.curframe.f_globals if hasattr(self, 'curframe') else None
714 globals = self.curframe.f_globals
760 return eval(arg, self.curframe.f_globals,
811 self.curframe.f_globals)
830 value = eval(arg, self.curframe.f_globals,
Dbdb.py114 self.is_skipped_module(frame.f_globals.get('__name__')):
382 line = linecache.getline(filename, lineno, frame.f_globals)
593 val = eval(b.cond, frame.f_globals,
624 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
/external/python/cpython3/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.py108 if inspect.isframe(obj) and obj.f_globals is obj.f_locals:
370 globals = self.curframe.f_globals
498 ns = {**self.curframe.f_globals, **self.curframe_locals}
655 self.curframe.f_globals,
754 globs = self.curframe.f_globals if hasattr(self, 'curframe') else None
1097 globals = self.curframe.f_globals
1162 return eval(arg, self.curframe.f_globals, self.curframe_locals)
1171 return eval(arg, self.curframe.f_globals, self.curframe_locals)
1173 return eval(arg, frame.f_globals, frame.f_locals)
1242 lines = linecache.getlines(filename, self.curframe.f_globals)
[all …]
Dbdb.py205 self.is_skipped_module(frame.f_globals.get('__name__')):
563 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.py603 def_mod = sys._getframe(1).f_globals['__name__'] # for pickling
989 return sys._getframe(3).f_globals['__name__'] in ['abc', 'functools']
1596 nm_tpl.__module__ = sys._getframe(2).f_globals.get('__name__', '__main__')
1719 ns['__module__'] = sys._getframe(1).f_globals.get('__name__', '__main__')
/external/python/cpython3/Objects/
Dframeobject.c18 {"f_globals", T_OBJECT, OFF(f_globals), READONLY},
440 Py_DECREF(f->f_globals); in frame_dealloc()
468 Py_VISIT(f->f_globals); in frame_traverse()
624 if (back == NULL || back->f_globals != globals) { in _PyFrame_New_NoTrack()
706 f->f_globals = globals; in _PyFrame_New_NoTrack()
/external/python/cpython2/Objects/
Dframeobject.c21 {"f_globals", T_OBJECT, OFF(f_globals), RO},
504 Py_DECREF(f->f_globals); in frame_dealloc()
535 Py_VISIT(f->f_globals); in frame_traverse()
673 if (back == NULL || back->f_globals != globals) { in PyFrame_New()
753 f->f_globals = globals; in PyFrame_New()
/external/python/cpython2/Include/
Dframeobject.h21 PyObject *f_globals; /* global symbol table (PyDictObject) */ member
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py325 '__file__' in unwrapped_object.f_globals):
326 return unwrapped_object.f_globals['__file__']
Dtf_stack.cc109 const auto& globals = py::reinterpret_borrow<py::object>(f->f_globals); in ExtractStack()
/external/python/cpython3/Include/
Dframeobject.h21 PyObject *f_globals; /* global symbol table (PyDictObject) */ member
/external/python/cpython2/Lib/ctypes/test/
D__init__.py24 if sys._getframe().f_back.f_globals.get("__name__") == "__main__":
39 if sys._getframe().f_back.f_globals.get("__name__") == "__main__":
/external/python/cpython3/Lib/asyncio/
Dbase_tasks.py64 line = linecache.getline(filename, lineno, f.f_globals)
/external/libchrome/third_party/jinja2/
Ddebug.py60 return '__jinja_template__' in self.tb.tb_frame.f_globals
180 template = tb.tb_frame.f_globals.get('__jinja_template__')
/external/python/setuptools/setuptools/command/
Dinstall.py90 caller_module = caller.f_globals.get('__name__', '')
/external/python/cpython2/Lib/unittest/
Dresult.py181 return '__unittest' in tb.tb_frame.f_globals
/external/python/cpython3/Python/
Dceval.c1174 lltrace = _PyDict_GetItemId(f->f_globals, &PyId___ltrace__) != NULL; in _PyEval_EvalFrameDefault()
2395 err = PyDict_SetItem(f->f_globals, name, v); in _PyEval_EvalFrameDefault()
2405 err = PyDict_DelItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
2443 v = PyDict_GetItemWithError(f->f_globals, name); in _PyEval_EvalFrameDefault()
2483 if (PyDict_CheckExact(f->f_globals) in _PyEval_EvalFrameDefault()
2491 ((PyDictObject *)f->f_globals)->ma_version_tag in _PyEval_EvalFrameDefault()
2505 v = _PyDict_LoadGlobal((PyDictObject *)f->f_globals, in _PyEval_EvalFrameDefault()
2530 ((PyDictObject *)f->f_globals)->ma_version_tag; in _PyEval_EvalFrameDefault()
2543 v = PyObject_GetItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
3575 PyFunction_NewWithQualName(codeobj, f->f_globals, qualname); in _PyEval_EvalFrameDefault()
[all …]
/external/python/cpython2/Lib/unittest/test/
Dtest_result.py265 f_globals = {} variable in Test_TestResult.testStackFrameTrimming.Frame.tb_frame
269 Frame.tb_frame.f_globals['__unittest'] = True
/external/python/cpython3/Lib/unittest/
Dresult.py204 return '__unittest' in tb.tb_frame.f_globals
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py307 caller_frame.f_globals.values()):

123