]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-141376: Rename _AsyncioDebug to _Py_AsyncioDebug (GH-141391)
authorPetr Viktorin <encukou@gmail.com>
Wed, 12 Nov 2025 08:42:56 +0000 (09:42 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Nov 2025 08:42:56 +0000 (09:42 +0100)
Modules/_asynciomodule.c
Tools/c-analyzer/cpython/ignored.tsv

index 1f58b1fb3506c6c9769c41602b8c91f2ecaf9edd..9b2b7011244d7721b42c18798acfe3e377429341 100644 (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;
index 8b73189fb07dc5e23ffa62a3af65d88bb283e60b..11a3cd794ff4d7767080303faf34d65388e47807 100644 (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        -
 
 
 ##################################