MCPcopy Index your code
hub / github.com/python/cpython / interp_frame_has_tlbc_index

Function interp_frame_has_tlbc_index

Tools/gdb/libpython.py:81–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80_INTERP_FRAME_HAS_TLBC_INDEX = None
81def interp_frame_has_tlbc_index():
82 global _INTERP_FRAME_HAS_TLBC_INDEX
83 if _INTERP_FRAME_HAS_TLBC_INDEX is None:
84 interp_frame = gdb.lookup_type("_PyInterpreterFrame")
85 _INTERP_FRAME_HAS_TLBC_INDEX = any(field.name == "tlbc_index"
86 for field in interp_frame.fields())
87 return _INTERP_FRAME_HAS_TLBC_INDEX
88
89Py_TPFLAGS_INLINE_VALUES = (1 << 2)
90Py_TPFLAGS_MANAGED_DICT = (1 << 4)

Callers 1

_f_lastiMethod · 0.85

Calls 2

fieldsMethod · 0.80
anyFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…