Skip to content

Conversation

@kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Jun 11, 2025

@kumaraditya303 kumaraditya303 requested a review from vstinner June 12, 2025 11:14
@vstinner
Copy link
Member

I kept it similar to mutex lock held function which uses Py_DEBUG not NDEBUG.

IMO it's worth it to replace #ifdef Py_DEBUG with #ifndef NDEBUG to support building Python with assertions in release mode: https://docs.python.org/dev/using/configure.html#cmdoption-with-assertions But I suggest doing that in a follow-up PR.

@kumaraditya303 kumaraditya303 merged commit a8ec511 into python:main Jun 20, 2025
42 checks passed
@kumaraditya303 kumaraditya303 deleted the critical branch June 20, 2025 17:13
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
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.

4 participants