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
asyncio.print_call_graph() includes event loop frames when depth exceeds the task stack #161124
* Task(name='Task-1', id=0x101ff85f0)
+ Call stack:
| File '/Users/timofeiivankov/cpython/Lib/asyncio/events.py', line 91, in Handle._run()
| File '/Users/timofeiivankov/cpython/Lib/asyncio/base_events.py', line 2092, in BaseEventLoop._run_once()
| File '/Users/timofeiivankov/cpython/Lib/asyncio/base_events.py', line 683, in BaseEventLoop.run_forever()
| File '/Users/timofeiivankov/cpython/Lib/asyncio/base_events.py', line 712, in BaseEventLoop.run_until_complete()
| File '/Users/timofeiivankov/cpython/Lib/asyncio/runners.py', line 130, in Runner.run()
| File '/Users/timofeiivankov/cpython/Lib/asyncio/runners.py', line 211, in run()
| File '/Users/timofeiivankov/cpython/repro.py', line 6, in <module>()
Expected:
* Task(name='Task-1', id=0x1011345f0)
Proposed fix: apply depth after collecting the stack up to the task boundary
Activity
pythongh-161124: Fix asyncio call graph reporting event loop frames f…