https://github.com/python/cpython/commit/909f76dab91f028edd2ae7bd589d3975996de9e1
commit: 909f76dab91f028edd2ae7bd589d3975996de9e1
branch: main
author: Petr Viktorin <[email protected]>
committer: encukou <[email protected]>
date: 2025-11-12T09:42:56+01:00
summary:

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

files:
M Modules/_asynciomodule.c
M Tools/c-analyzer/cpython/ignored.tsv

diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c
index 1f58b1fb3506c6..9b2b7011244d77 100644
--- a/Modules/_asynciomodule.c
+++ b/Modules/_asynciomodule.c
@@ -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;
diff --git a/Tools/c-analyzer/cpython/ignored.tsv 
b/Tools/c-analyzer/cpython/ignored.tsv
index 8b73189fb07dc5..11a3cd794ff4d7 100644
--- a/Tools/c-analyzer/cpython/ignored.tsv
+++ b/Tools/c-analyzer/cpython/ignored.tsv
@@ -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        -
 
 
 ##################################

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to