8000 gh-91048: Also clear and set ts->asyncio_running_task with eager tasks by ambv · Pull Request #129197 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-91048: Also clear and set ts->asyncio_running_task with eager tasks #129197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Modules/_asynciomodule.c
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
  • Loading branch information
ambv and kumaraditya303 authored Jan 23, 2025
commit 90fec6cc33c29d43bc0fcfca99081da34e3956bb
2 changes: 1 addition & 1 deletion Modules/_asynciomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ swap_current_task(asyncio_state *state, PyObject *loop, PyObject *task)
static inline void
set_ts_asyncio_running_task(PyObject *loop, PyObject *task)
{
// We want to be enable debuggers and profilers to be able to quickly
// We want to enable debuggers and profilers to be able to quickly
// introspect the asyncio running state from another process.
// When we do that, we need to essentially traverse the address space
// of a Python process and understand what every Python thread in it is
Expand Down
Loading
0