Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/tools/ci_build/builds/
Dcheck_system_libs.py48 f_globals = {'repository_rule': repository_rule}
50 exec(f.read(), f_globals, f_locals) # pylint: disable=exec-used
/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/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.py109 if inspect.isframe(obj) and obj.f_globals is obj.f_locals:
371 globals = self.curframe.f_globals
499 ns = {**self.curframe.f_globals, **self.curframe_locals}
656 self.curframe.f_globals,
755 globs = self.curframe.f_globals if hasattr(self, 'curframe') else None
1098 globals = self.curframe.f_globals
1163 return eval(arg, self.curframe.f_globals, self.curframe_locals)
1172 return eval(arg, self.curframe.f_globals, self.curframe_locals)
1174 return eval(arg, frame.f_globals, frame.f_locals)
1243 lines = linecache.getlines(filename, self.curframe.f_globals)
[all …]
Dbdb.py205 self.is_skipped_module(frame.f_globals.get('__name__')):
556 line = linecache.getline(filename, lineno, frame.f_globals)
816 val = eval(b.cond, frame.f_globals, frame.f_locals)
845 line = linecache.getline(fn, frame.f_lineno, frame.f_globals)
/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/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/cpython3/Include/cpython/
Dframeobject.h22 PyObject *f_globals; /* global symbol table (PyDictObject) */ member
/external/python/cpython2/Include/
Dframeobject.h21 PyObject *f_globals; /* global symbol table (PyDictObject) */ member
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_inspect.py325 '__file__' in unwrapped_object.f_globals):
326 return unwrapped_object.f_globals['__file__']
/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/tensorflow/tensorflow/python/util/
Dtf_inspect.py339 '__file__' in unwrapped_object.f_globals):
340 return unwrapped_object.f_globals['__file__']
/external/python/cpython3/Lib/asyncio/
Dbase_tasks.py71 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/cpython3/Objects/
Dframeobject.c18 {"f_globals", T_OBJECT, OFF(f_globals), READONLY},
590 Py_DECREF(f->f_globals); in frame_dealloc()
628 Py_VISIT(f->f_globals); in frame_traverse()
828 if (back != NULL && back->f_globals == globals) { in frame_get_builtins()
895 f->f_globals = globals; in _PyFrame_New_NoTrack()
/external/python/setuptools/setuptools/command/
Dinstall.py90 caller_module = caller.f_globals.get('__name__', '')
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_result.py266 f_globals = {} variable in Test_TestResult.testStackFrameTrimming.Frame.tb_frame
270 Frame.tb_frame.f_globals['__unittest'] = True
/external/python/jinja/src/jinja2/
Ddebug.py49 template = tb.tb_frame.f_globals.get("__jinja_template__")
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/
Dresult.py186 return '__unittest' in tb.tb_frame.f_globals
/external/python/cpython2/Lib/unittest/
Dresult.py181 return '__unittest' in tb.tb_frame.f_globals
/external/python/cpython3/Python/
Dceval.c1350 lltrace = _PyDict_GetItemId(f->f_globals, &PyId___ltrace__) != NULL; in _PyEval_EvalFrameDefault()
2458 err = PyDict_SetItem(f->f_globals, name, v); in _PyEval_EvalFrameDefault()
2468 err = PyDict_DelItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
2506 v = PyDict_GetItemWithError(f->f_globals, name); in _PyEval_EvalFrameDefault()
2546 if (PyDict_CheckExact(f->f_globals) in _PyEval_EvalFrameDefault()
2554 ((PyDictObject *)f->f_globals)->ma_version_tag in _PyEval_EvalFrameDefault()
2568 v = _PyDict_LoadGlobal((PyDictObject *)f->f_globals, in _PyEval_EvalFrameDefault()
2593 ((PyDictObject *)f->f_globals)->ma_version_tag; in _PyEval_EvalFrameDefault()
2606 v = PyObject_GetItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
3596 PyFunction_NewWithQualName(codeobj, f->f_globals, qualname); in _PyEval_EvalFrameDefault()
[all …]

123