-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-39849: Fix compiler warning in _testcapimodule #19615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I 've checked on my local machone, no warning is now showing.
@serhiy-storchaka @vstinner Please take a look. |
@serhiy-storchaka I will merge it after my mentor's approval :) cc @vstinner |
If I recall correctly, I'm unhappy with the fix: _testcapi.test_buildvalue_issue38913() ensures that For me, the assertion is part of the test and _testcapi must never be compiled without assertions. @shihai1991: Can you please write a different PR which ensure that _testcapimodule.c and _testinternalcapi.c always enable assertions? Just put the following code at the top:
|
Sure, let me try it ;) |
https://bugs.python.org/issue39849