Skip to content

gh-140550: Fix PyABIInfo_VAR macro: avoid ";" - #157539

Merged
hugovk merged 2 commits into
python:mainfrom
encukou:abiinfo15
Sep 15, 2026
Merged

hugovk merged 2 commits into
python:mainfrom
encukou:abiinfo15

Conversation

@encukou

@encukou encukou commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Remove ";" from PyABIInfo_VAR macro definition, since "PyABIInfo_VAR(abi_info);" added two ";;" which is illegal in C++03.

(This is a cherry-pick of #157494)

Remove ";" from PyABIInfo_VAR macro definition, since
"PyABIInfo_VAR(abi_info);" added two ";;" which is illegal in C++03.

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hugovk
hugovk merged commit cbb43b8 into python:main Sep 15, 2026
60 checks passed
@encukou
encukou deleted the abiinfo15 branch September 15, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants