-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-94430: Allow parameters named module
or self
with custom C names in Argument Clinic
#94431
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
cc. @arhadthedev |
module
or self
with custom C names in Argument Clinic
Unfortunately, the fix is not as simple as this. UPDATE: See 4a45b6f for a better solution. |
@JelleZijlstra, what do you think? Is this change worth it? |
@ambv, since we're into Argument Clinic (again); would you mind looking at this PR as well? The change itself is pretty straight-forward, but I'm not sure if it is worth it. The only possible enhancement might be to leave an explanatory comment. IMO, it makes sense to apply this bco. correctness, even though the amount of use-cases is low. I'd like another core dev's opinion before landing it, though. |
IIRC, we backport AC changes. Adding 3.11 and 3.10 labels. |
A pair of hearts and no thumbs down hints to some enthusiasm 🙂 Unless someone complains, I'll merge this next week. Reviews are still welcome. |
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, this would be useful in #92891
Thanks for the review, Kumar. |
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11. |
Sorry @erlend-aasland, I had trouble checking out the |
Sorry, @erlend-aasland, I could not cleanly backport this to |
…tom C names in Argument Clinic (pythonGH-94431) (cherry picked from commit 8bbd70b) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
GH-94649 is a backport of this pull request to the 3.11 branch. |
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry @erlend-aasland, I had trouble checking out the |
…tom C names in Argument Clinic (pythonGH-94431). (cherry picked from commit 8bbd70b) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
GH-94650 is a backport of this pull request to the 3.10 branch. |
…names in AC (GH-94431) (#94649) (cherry picked from commit 8bbd70b) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
…names in AC (GH-94431) (#94650) (cherry picked from commit 8bbd70b) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
module
with custom C names are rejected #94430