gh-142225: Fix `PyABIInfo_VAR` macro by StanFromIreland · Pull Request #142230 · python/cpython · GitHub
Skip to content

gh-142225: Fix PyABIInfo_VAR macro - #142230

Merged
encukou merged 3 commits into
python:mainfrom
StanFromIreland:fix-PyABIInfo_VAR
Dec 4, 2025
Merged

gh-142225: Fix PyABIInfo_VAR macro#142230
encukou merged 3 commits into
python:mainfrom
StanFromIreland:fix-PyABIInfo_VAR

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Dec 3, 2025

Copy link
Copy Markdown
Member
Include/modsupport.h:143:29: error: '_PyABIInfo_DEFAULT' undeclared here (not in a function); did you mean 'PyABIInfo_STABLE'?
  143 |     static PyABIInfo NAME = _PyABIInfo_DEFAULT;
      |                             ^~~~~~~~~~~~~~~~~~
/tmp/test.c:4:1: note: in expansion of macro 'PyABIInfo_VAR'
    4 | PyABIInfo_VAR(test_abi_info);
      | ^~~~~~~~~~~~~

@encukou

encukou commented Dec 3, 2025

Copy link
Copy Markdown
Member

Comment thread Include/modsupport.h Outdated
Comment thread Include/modsupport.h Outdated
@encukou
encukou merged commit fb404ab into python:main Dec 4, 2025
46 checks passed
@bedevere-bot

Copy link
Copy Markdown

@StanFromIreland
StanFromIreland deleted the fix-PyABIInfo_VAR branch December 4, 2025 13:21
StanFromIreland added a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants