Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ is_shim
Method
is_shim
Tools/gdb/libpython.py:1149–1150 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1147
return
int(instr_ptr - first_instr)
1148
1149
def
is_shim(self):
1150
return
self._f_special(
"owner"
, int) == FRAME_OWNED_BY_INTERPRETER
1151
1152
def
previous(self):
1153
if
int(self._gdbval[
'previous'
]) == 0:
Callers
3
__init__
Method · 0.95
print_traceback_until_shim
Method · 0.80
invoke
Method · 0.80
Calls
1
_f_special
Method · 0.95
Tested by
no test coverage detected