-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-129539: Include sysexits.h before checking EX_OK #129540
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
Misc/NEWS.d/next/Build/2025-01-31-19-01-24.gh-issue-129539.6ndioH.rst
Outdated
Show resolved
Hide resolved
0cbd65d
to
ef40eea
Compare
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.
Thanks! LGTM.
cc @vstinner as the person who wrote the code.
Previously the macro would be redefined when the header was included.
ef40eea
to
4d1df0d
Compare
Thanks, your change is correct. But I was fed up of such bugs so I wrote a big refactoring change to reduce the risk of such bug: #129558 Your change remains relevant for 3.13 branch. Can you try to create a new PR for 3.13? Thanks. |
GH-129590 is a backport of this pull request to the 3.13 branch. |
Sounds good to me. Thanks!
I created #129590. Not used to the Python pull request workflow so sorry in advance for any mistakes. :) |
GH-129590 is a backport of this pull request to the 3.13 branch. |
Previously the macro would be redefined when the header was included.