8000 gh-91048: Add support for reconstructing async call stacks by mpage · Pull Request #103976 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-91048: Add support for reconstructing async call stacks #103976

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

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
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
Next Next commit
Revert newline removal
  • Loading branch information
mpage committed Apr 28, 2023
commit 9e234bb92e8e48da8a0d972c8a751f516de377c0
3 changes: 2 additions & 1 deletion Include/cpython/genobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ extern "C" {
#endif

static inline int
_PyAwaitable_SetAwaiter(PyObject *receiver, PyObject *awaiter) {
_PyAwaitable_SetAwaiter(PyObject *receiver, PyObject *awaiter)
{
PyTypeObject *ty = Py_TYPE(receiver);
PyAsyncMethods *am = (PyAsyncMethods *) ty->tp_as_async;
if ((am != NULL) && (am->am_set_awaiter != NULL)) {
Expand Down
1 change: 1 addition & 0 deletions Modules/_asynciomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -3342,6 +3342,7 @@ _asyncio_current_task_impl(PyObject *module, PyObject *loop)
return ret;
}


/*********************** Module **************************/


Expand Down
0