-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-114258: Refactor Argument Clinic function name parser #114930
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-114258: Refactor Argument Clinic function name parser #114930
Conversation
Yak-shaving in preparation for adding support for slots. - factor out return converter resolver - factor out cloning
(I'll fix the mypy errors later) |
This comment was marked as resolved.
This comment was marked as resolved.
FTR, most of this PR is just shuffling lines around and wrapping them in more targeted scopes. |
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.
Quick review :)
Did you reject #114930 (comment) or missed it? :) Update: Ok, I see that it was partially implemented :) |
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! We can work on better error messages in the next PRs.
Yeah, I think we should try to do an audit of all the |
Thanks for the review, Nikita. I'll wait a day or two to give Alex a chance to chime in (since I already pinged him about this). |
Landing this tomorrow afternoon (CET). |
Refactor state_modulename_name() of the parsing state machine, by
adding helpers for the sections that deal with ...: