gh-114258: Refactor Argument Clinic function name parser#114930
gh-114258: Refactor Argument Clinic function name parser#114930erlend-aasland merged 12 commits intopython:mainfrom
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. |
|
Did you reject #114930 (comment) or missed it? :) Update: Ok, I see that it was partially implemented :) |
sobolevn
left a comment
There was a problem hiding this comment.
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 ...: