You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RemoteUnwinder.get_async_stack_trace() docstring describes an incorrect return structure #161173
Currently docstring of get_async_stack_trace in _remote_debugging/module.c contains outdated data:
Returns a list of per-thread results, where each thread result
contains:
- Thread ID
- List of task information for the running task and all its waiters
Each task info contains:
- Task ID (memory address)
- Task name
- Call stack frames: List of (func_name, filename, lineno)
- List of tasks waiting for this task (recursive structure)
...
Example output (similar structure to get_all_awaited_by but only for
running tasks):
[
# Thread 140234 results
(140234, [
# Running task and its complete waiter dependency graph
(4345585712, 'main_task',
[("run_server", "server.py", 127), ("main", "app.py", 23)],
[
# Tasks waiting for main_task
(4345585800, 'worker_1', [...], [...]),
(4345585900, 'worker_2', [...], [...])
])
])
]
Activity
gh-161173: Fix outdated docs for get_async_stack_trace (#161174)