Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions Modules/_testcapimodule.c
Original file line numberDiff line numberDiff line change
Expand Up@@ -3523,7 +3523,10 @@ _testcapi_exec(PyObject *m)
return0;
}

PyABIInfo_VAR(abi_info);

staticPyModuleDef_Slot_testcapi_slots[] ={
{Py_mod_abi, &abi_info},
{Py_mod_exec, _testcapi_exec},
{Py_mod_gil, Py_MOD_GIL_NOT_USED},
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
Expand Down
3 changes: 3 additions & 0 deletions Modules/_testinternalcapi.c
Original file line numberDiff line numberDiff line change
Expand Up@@ -2696,7 +2696,10 @@ module_exec(PyObject *module)
return 0;
}

PyABIInfo_VAR(abi_info);

static struct PyModuleDef_Slot module_slots[] ={
{Py_mod_abi, &abi_info},
{Py_mod_exec, module_exec},
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
{Py_mod_gil, Py_MOD_GIL_NOT_USED},
Expand Down
1 change: 1 addition & 0 deletions Tools/c-analyzer/cpython/_analyzer.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -76,6 +76,7 @@
'PyBufferProcs',
'PyStructSequence_Field[]',
'PyStructSequence_Desc',
'PyABIInfo',
}

# XXX We should normalize all cases to a single name,
Expand Down
Loading