(self)
| 140 | |
| 141 | @property |
| 142 | def gc_status(self) -> str: |
| 143 | if self.native_frames: |
| 144 | gc_symbols = {"gc_collect", "collect", "collect.constrprop"} |
| 145 | if any( |
| 146 | gc_symbol in frame.symbol |
| 147 | for gc_symbol in gc_symbols |
| 148 | for frame in self.native_frames |
| 149 | ): |
| 150 | return "Garbage collecting" |
| 151 | return "" |
| 152 | |
| 153 | if self.is_gc_collecting != -1: |
| 154 | if self.is_gc_collecting == 1 and self.holds_the_gil: |
| 155 | return "Garbage collecting" |
| 156 | return "" |
| 157 | |
| 158 | return "" |
| 159 | |
| 160 | @property |
| 161 | def gil_status(self) -> str: |
nothing calls this directly
no outgoing calls
no test coverage detected