Skip to content

GH-148960: Ensure that asserts are ignored if NDEBUG is set#150916

Merged
markshannon merged 1 commit into
python:mainfrom
markshannon:fix-jit-assert
Jun 4, 2026
Merged

GH-148960: Ensure that asserts are ignored if NDEBUG is set#150916
markshannon merged 1 commit into
python:mainfrom
markshannon:fix-jit-assert

Conversation

@markshannon
Copy link
Copy Markdown
Member

@markshannon markshannon commented Jun 4, 2026

In #150551 the assertion tests were accidentally left in the stencils for the non debug build.
This PR fixes that.

Copy link
Copy Markdown
Contributor

@diegorusso diegorusso left a comment

Choose a reason for hiding this comment

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

Already reviewed internally. LGTM, thanks!

@markshannon markshannon merged commit 038495d into python:main Jun 4, 2026
87 checks passed
@brandtbucher
Copy link
Copy Markdown
Member

Just curious, why is it defined twice in this file?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants