-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
gh-120674: protect multi-line macro expansions in Modules/_testbuffer.c
and Modules/_testcapimodule.c
#120675
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 if you fix a minor consistency issue :-)
I applied my minor suggestion and enabled automerge. |
Thank you for the consistency nitpick! Some parts of the code align the '\' and others don't. In this PR, I tried not to align the '\' except when they are used for breaking the same expression (e.g., a function call) (but I tried to reduce the diff as much as possible). So thank you! By the way, in the future, I don't mind people comitting directly onto my branch if I don't reply directly. |
…capimodule.c (python#120675) Add do { ... } while (0) pattern.
…capimodule.c (python#120675) Add do { ... } while (0) pattern.
…capimodule.c (python#120675) Add do { ... } while (0) pattern.
…capimodule.c (python#120675) Add do { ... } while (0) pattern.
(skip news is needed for this one)
_test*.c
files #120674