Skip to content

Commit 3faf10b

Browse files
committed
pythongh-141376: Check also for data in make smelly
Rename _AsyncioDebug to _Py_AsyncioDebug.
1 parent d694474 commit 3faf10b

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

‎Modules/_asynciomodule.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ typedef struct _Py_AsyncioModuleDebugOffsets {
119119
} asyncio_thread_state;
120120
} Py_AsyncioModuleDebugOffsets;
121121

122-
GENERATE_DEBUG_SECTION(AsyncioDebug, Py_AsyncioModuleDebugOffsets _AsyncioDebug)
122+
GENERATE_DEBUG_SECTION(AsyncioDebug, Py_AsyncioModuleDebugOffsets _Py_AsyncioDebug)
123123
= {.asyncio_task_object = {
124124
.size = sizeof(TaskObj),
125125
.task_name = offsetof(TaskObj, task_name),
@@ -4338,7 +4338,7 @@ module_init(asyncio_state *state)
43384338
goto fail;
43394339
}
43404340

4341-
state->debug_offsets = &_AsyncioDebug;
4341+
state->debug_offsets = &_Py_AsyncioDebug;
43424342

43434343
Py_DECREF(module);
43444344
return 0;

‎Tools/build/smelly.py‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ def is_local_symbol_type(symtype):
3434
if symtype.islower() and symtype not in "uvw":
3535
return True
3636

37-
# Ignore the initialized data section (d and D) and the BSS data
38-
# section. For example, ignore "__bss_start (type: B)"
39-
# and "_edata (type: D)".
40-
if symtype in "bBdD":
41-
return True
42-
4337
return False
4438

4539

0 commit comments

Comments
 (0)