MCPcopy Create free account
hub / github.com/bloomberg/pystack / status

Method status

src/pystack/types.py:129–139  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

127
128 @property
129 def status(self) -> str:
130 status = []
131 gil_status = self.gil_status
132 gc_status = self.gc_status
133 if self.tid == 0:
134 status.append("Thread terminated")
135 if gil_status:
136 status.append(gil_status)
137 if gc_status:
138 status.append(gc_status)
139 return "[" + ",".join(status) + "]"
140
141 @property
142 def gc_status(self) -> str:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected