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

Function print_thread

src/pystack/traceback_formatter.py:15–17  ·  view source on GitHub ↗
(thread: PyThread, native_mode: NativeReportingMode)

Source from the content-addressed store, hash-verified

13
14
15def print_thread(thread: PyThread, native_mode: NativeReportingMode) -> None:
16 for line in format_thread(thread, native_mode):
17 print(line, file=sys.stdout, flush=True)
18
19
20def format_frame(frame: PyFrame) -> Iterable[str]:

Callers 3

test_print_threadFunction · 0.90
process_remoteFunction · 0.85
process_coreFunction · 0.85

Calls 1

format_threadFunction · 0.85

Tested by 1

test_print_threadFunction · 0.72