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

Method is_gc_collect

Tools/gdb/libpython.py:1851–1856  ·  view source on GitHub ↗

Is this frame a collector within the garbage-collector?

(self)

Source from the content-addressed store, hash-verified

1849 return (name == 'take_gil')
1850
1851 def is_gc_collect(self):
1852 '''Is this frame a collector within the garbage-collector?'''
1853 return self._gdbframe.name() in (
1854 'collect', 'gc_collect_full', 'gc_collect_main',
1855 'gc_collect_young', 'gc_collect_increment',
1856 )
1857
1858 def get_pyop(self):
1859 try:

Callers 1

is_other_python_frameMethod · 0.95

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected