Skip to content

gh-140126: Fix compile error if --with-assertions is enabled. - #140133

Merged
vstinner merged 1 commit into
python:mainfrom
nascheme:gh-140126-types-world-is-stopped
Oct 14, 2025
Merged

vstinner merged 1 commit into
python:mainfrom
nascheme:gh-140126-types-world-is-stopped

Conversation

@nascheme

@nascheme nascheme commented Oct 14, 2025 •

Copy link
Copy Markdown
Member
The `types_world_is_stopped()` function needs to be defined if NDEBUG
is not defined.

@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.

I confirm that ./configure --disable-gil --with-assertions build fails without this change and succeed with this change.

@vstinner
vstinner enabled auto-merge (squash) October 14, 2025 22:22
@vstinner
vstinner merged commit 1e1f435 into python:main Oct 14, 2025
@vstinner

Copy link
Copy Markdown
Member

Merged, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants