GH-91048: Add utils for capturing async call stack for asyncio programs and enable profiling by 1st1 · Pull Request #124640 · python/cpython
1st1
marked this pull request as ready for review
Yury Selivanov added 8 commits
`f_generator` returns the generator / coroutine / async generator object that owns the frame. For all other kinds of frames it will return `None`. This is useful to reconstruct call stack for async/await code.
ambv
mentioned this pull request
ambv added a commit to ambv/cpython that referenced this pull request
…r tasks This was missing from pythongh-124640. It's already covered by the new test_asyncio/test_free_threading.py in combination with the runtime assertion in set_ts_asyncio_running_task.
ambv
mentioned this pull request
ambv added a commit that referenced this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters