GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-142225: Add PyABIInfo_VAR to to _testcapimodule & _testinternalcap… · python/cpython@7d81eab

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • Modules
    • _testcapimodule.c
    • _testinternalcapi.c
  • Tools/c-analyzer/cpython
    • _analyzer.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎Modules/_testcapimodule.c‎

Copy file name to clipboardExpand all lines: Modules/_testcapimodule.c
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3523,7 +3523,10 @@ _testcapi_exec(PyObject *m)
35233523
return 0;
35243524
}
35253525

3526+
PyABIInfo_VAR(abi_info);
3527+
35263528
static PyModuleDef_Slot _testcapi_slots[] = {
3529+
{Py_mod_abi, &abi_info},
35273530
{Py_mod_exec, _testcapi_exec},
35283531
{Py_mod_gil, Py_MOD_GIL_NOT_USED},
35293532
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
Collapse file

‎Modules/_testinternalcapi.c‎

Copy file name to clipboardExpand all lines: Modules/_testinternalcapi.c
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2696,7 +2696,10 @@ module_exec(PyObject *module)
26962696
return 0;
26972697
}
26982698

2699+
PyABIInfo_VAR(abi_info);
2700+
26992701
static struct PyModuleDef_Slot module_slots[] = {
2702+
{Py_mod_abi, &abi_info},
27002703
{Py_mod_exec, module_exec},
27012704
{Py_mod_multiple_interpreters, Py_MOD_PER_INTERPRETER_GIL_SUPPORTED},
27022705
{Py_mod_gil, Py_MOD_GIL_NOT_USED},
Collapse file

‎Tools/c-analyzer/cpython/_analyzer.py‎

Copy file name to clipboardExpand all lines: Tools/c-analyzer/cpython/_analyzer.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
'PyBufferProcs',
7777
'PyStructSequence_Field[]',
7878
'PyStructSequence_Desc',
79+
'PyABIInfo',
7980
}
8081

8182
# XXX We should normalize all cases to a single name,

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.