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

Function get_all_awaited_by

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

Source from the content-addressed store, hash-verified

245
246
247def get_all_awaited_by(pid):
248 for _ in busy_retry(SHORT_TIMEOUT):
249 try:
250 unwinder = RemoteUnwinder(pid, debug=True)
251 return unwinder.get_all_awaited_by()
252 except RuntimeError as e:
253 continue
254 raise RuntimeError("Failed to get all awaited_by after retries")
255
256
257def _get_stack_trace_with_retry(unwinder, timeout=SHORT_TIMEOUT, condition=None):

Callers 1

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…