(self)
| 159 | |
| 160 | @property |
| 161 | def gil_status(self) -> str: |
| 162 | if self.holds_the_gil > 0: |
| 163 | return "Has the GIL" |
| 164 | if any(frame.symbol == "take_gil" for frame in self.native_frames): |
| 165 | return "Waiting for the GIL" |
| 166 | if any(frame.symbol == "drop_gil" for frame in self.native_frames): |
| 167 | return "Dropping the GIL" |
| 168 | return "" |
nothing calls this directly
no outgoing calls
no test coverage detected