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

Function get_async_stack_trace

Lib/test/test_external_inspection.py:237–244  ·  view source on GitHub ↗
(pid)

Source from the content-addressed store, hash-verified

235
236
237def get_async_stack_trace(pid):
238 for _ in busy_retry(SHORT_TIMEOUT):
239 try:
240 unwinder = RemoteUnwinder(pid, debug=True)
241 return unwinder.get_async_stack_trace()
242 except RuntimeError as e:
243 continue
244 raise RuntimeError("Failed to get async stack trace after retries")
245
246
247def get_all_awaited_by(pid):

Calls 1

busy_retryFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…