-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-128152: Argument Clinic: don't parse CPP directives inside C comments #128464
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-128152: Argument Clinic: don't parse CPP directives inside C comments #128464
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.
I'm not an expert in AC but this looks good. At least, I can now use empty lines in python input
. By the way, I think I've just understood that CPP
stands for Clinic Pre-Processor/Processing and not for C++....
Yes, cpython/Tools/clinic/libclinic/dsl_parser.py Lines 493 to 496 in f157485
|
Thanks for the quick review! I'll land this tomorrow. |
This comment was marked as outdated.
This comment was marked as outdated.
…ide C comments (pythonGH-128464) (cherry picked from commit a4e773c) Co-authored-by: Erlend E. Aasland <erlend@python.org>
This comment was marked as outdated.
This comment was marked as outdated.
GH-128478 is a backport of this pull request to the 3.13 branch. |
Resolves #128152