Skip to content
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
Apply suggestions from code review
  • Loading branch information
kumaraditya303 authored Jul 14, 2024
commit c03112243f446ab99192395ac11bbaa58eaf07e8
4 changes: 2 additions & 2 deletions Modules/_asynciomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ get_running_loop(asyncio_state *state, PyObject **loop)
}
}

// TODO GH-121621: The should be moved to PyThreadState
// TODO GH-121621: This should be moved to PyThreadState
// for easier and quicker access.
state->cached_running_loop = rl;
state->cached_running_loop_tsid = ts_id;
Expand Down Expand Up @@ -398,7 +398,7 @@ set_running_loop(asyncio_state *state, PyObject *loop)
}


// TODO GH-121621: The should be moved to PyThreadState
// TODO GH-121621: This should be moved to PyThreadState
// for easier and quicker access.
state->cached_running_loop = loop; // borrowed, kept alive by ts_dict
state->cached_running_loop_tsid = PyThreadState_GetID(tstate);
Expand Down