Home
last modified time | relevance | path

Searched refs:f_globals (Results 1 – 25 of 65) 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/tensorflow/tensorflow/contrib/specs/python/
Dspecs.py145 bindings = self.frame.f_back.f_globals
151 bindings = self.frame.f_back.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.py107 if inspect.isframe(obj) and obj.f_globals is obj.f_locals:
366 globals = self.curframe.f_globals
494 ns = self.curframe.f_globals.copy()
652 self.curframe.f_globals,
751 globs = self.curframe.f_globals if hasattr(self, 'curframe') else None
1094 globals = self.curframe.f_globals
1159 return eval(arg, self.curframe.f_globals, self.curframe_locals)
1168 return eval(arg, self.curframe.f_globals, self.curframe_locals)
1170 return eval(arg, frame.f_globals, frame.f_locals)
1239 lines = linecache.getlines(filename, self.curframe.f_globals)
[all …]
Dbdb.py203 self.is_skipped_module(frame.f_globals.get('__name__')):
561 line = linecache.getline(filename, lineno, frame.f_globals)
821 val = eval(b.cond, frame.f_globals, frame.f_locals)
850 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/cpython3/Objects/
Dframeobject.c17 {"f_globals", T_OBJECT, OFF(f_globals), READONLY},
480 Py_DECREF(f->f_globals); in frame_dealloc()
508 Py_VISIT(f->f_globals); in frame_traverse()
672 if (back == NULL || back->f_globals != globals) { in _PyFrame_New_NoTrack()
751 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/tensorflow/tensorflow/python/util/
Dtf_inspect.py313 '__file__' in unwrapped_object.f_globals):
314 return unwrapped_object.f_globals['__file__']
Dtf_stack.py65 frame_globals = f.f_globals
/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/cpython2/Include/
Dframeobject.h21 PyObject *f_globals; /* global symbol table (PyDictObject) */ member
/external/python/cpython3/Include/
Dframeobject.h22 PyObject *f_globals; /* global symbol table (PyDictObject) */ member
/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/Lib/asyncio/
Dbase_tasks.py62 line = linecache.getline(filename, lineno, f.f_globals)
/external/python/setuptools/setuptools/command/
Dinstall.py90 caller_module = caller.f_globals.get('__name__', '')
/external/python/cpython3/Python/
Dceval.c915 lltrace = _PyDict_GetItemId(f->f_globals, &PyId___ltrace__) != NULL; in _PyEval_EvalFrameDefault()
2038 err = PyDict_SetItem(f->f_globals, name, v); in _PyEval_EvalFrameDefault()
2048 err = PyDict_DelItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
2079 v = PyDict_GetItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
2111 if (PyDict_CheckExact(f->f_globals) in _PyEval_EvalFrameDefault()
2114 v = _PyDict_LoadGlobal((PyDictObject *)f->f_globals, in _PyEval_EvalFrameDefault()
2132 v = PyObject_GetItem(f->f_globals, name); in _PyEval_EvalFrameDefault()
3207 PyFunction_NewWithQualName(codeobj, f->f_globals, qualname); in _PyEval_EvalFrameDefault()
4459 assert(current_frame->f_globals != NULL); in PyEval_GetGlobals()
4460 return current_frame->f_globals; in PyEval_GetGlobals()
[all …]
/external/python/cpython2/Lib/unittest/
Dresult.py181 return '__unittest' in tb.tb_frame.f_globals
/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.py264 caller_frame.f_globals.values()):

123