gh-141376: Rename _AsyncioDebug to _Py_AsyncioDebug (GH-141391)

This commit is contained in:
Petr Viktorin
2025-11-12 09:42:56 +01:00
committed by GitHub
parent 35908265b0
commit 909f76dab9
2 changed files with 3 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ typedef struct _Py_AsyncioModuleDebugOffsets {
} asyncio_thread_state;
} Py_AsyncioModuleDebugOffsets;
GENERATE_DEBUG_SECTION(AsyncioDebug, Py_AsyncioModuleDebugOffsets _AsyncioDebug)
GENERATE_DEBUG_SECTION(AsyncioDebug, Py_AsyncioModuleDebugOffsets _Py_AsyncioDebug)
= {.asyncio_task_object = {
.size = sizeof(TaskObj),
.task_name = offsetof(TaskObj, task_name),
@@ -4338,7 +4338,7 @@ module_init(asyncio_state *state)
goto fail;
}
state->debug_offsets = &_AsyncioDebug;
state->debug_offsets = &_Py_AsyncioDebug;
Py_DECREF(module);
return 0;

View File

@@ -56,7 +56,7 @@ Python/pyhash.c - _Py_HashSecret -
Python/parking_lot.c - buckets -
## data needed for introspecting asyncio state from debuggers and profilers
Modules/_asynciomodule.c - _AsyncioDebug -
Modules/_asynciomodule.c - _Py_AsyncioDebug -
##################################
1 filename funcname name reason
56 ## REPL
57 Parser/myreadline.c - _PyOS_ReadlineLock -
58 Parser/myreadline.c - _PyOS_ReadlineTState -
59 Parser/myreadline.c - PyOS_InputHook -
60 Parser/myreadline.c - PyOS_ReadlineFunctionPointer -
61 ##################################
62 ## runtime-global values - set once with each init