Skip to content

gh-149230: _remote_debugging: Fix async-aware for tasks in non-main threads#149235

Merged
pablogsal merged 3 commits intopython:mainfrom
maurycy:remote-debugger-iterate-head-not-main
May 5, 2026
Merged

gh-149230: _remote_debugging: Fix async-aware for tasks in non-main threads#149235
pablogsal merged 3 commits intopython:mainfrom
maurycy:remote-debugger-iterate-head-not-main

Conversation

@maurycy
Copy link
Copy Markdown
Contributor

@maurycy maurycy commented May 1, 2026

@pablogsal
Copy link
Copy Markdown
Member

Can you please add a test for this?

@pablogsal pablogsal marked this pull request as ready for review May 2, 2026 15:49
@pablogsal pablogsal self-requested a review as a code owner May 2, 2026 15:49
@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented May 2, 2026

Documentation build overview

📚 cpython-previews | 🛠️ Build #32509820 | 📁 Comparing 79f20b2 against main (98afa03)

  🔍 Preview build  

31 files changed · ± 31 modified

± Modified

@maurycy
Copy link
Copy Markdown
Contributor Author

maurycy commented May 2, 2026

@pablogsal

What do you think about covering get_async_stack_trace() also?

I've started working on adding tests, but yours is simpler!

@pablogsal pablogsal merged commit f025dba into python:main May 5, 2026
51 checks passed
@pablogsal
Copy link
Copy Markdown
Member

I'm landing this for now so it makes it for tomorrow's release. We can add more tests afterwards for sure :)

@pablogsal
Copy link
Copy Markdown
Member

What do you think about covering get_async_stack_trace() also?

Can you make another PR with more tests if you have some in mind?

@maurycy maurycy deleted the remote-debugger-iterate-head-not-main branch May 5, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

_remote_debugging: async aware does not show tasks from a non-main thread

2 participants