Skip to content
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-91583: AC: Fix regression for functions with defining_class #91739

Merged
merged 5 commits into from Apr 30, 2022

Conversation

Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Apr 20, 2022

Argument Clinic now generates the same efficient code as before
adding the defining_class parameter.

Closes #91583.

Argument Clinic now generates the same efficient code as before
adding the defining_class parameter.
@serhiy-storchaka serhiy-storchaka merged commit a055dac into python:main Apr 30, 2022
13 checks passed
@miss-islington
Copy link

@miss-islington miss-islington commented Apr 30, 2022

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒🤖

@miss-islington
Copy link

@miss-islington miss-islington commented Apr 30, 2022

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker a055dac0b45031878a8196a8735522de018491e3 3.10

@miss-islington
Copy link

@miss-islington miss-islington commented Apr 30, 2022

Sorry @serhiy-storchaka, I had trouble checking out the 3.9 backport branch.
Please backport using cherry_picker on command line.
cherry_picker a055dac0b45031878a8196a8735522de018491e3 3.9

serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Apr 30, 2022
…_class (pythonGH-91739)

Argument Clinic now generates the same efficient code as before
adding the defining_class parameter..
(cherry picked from commit a055dac)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Apr 30, 2022
…class (pythonGH-91739)

Argument Clinic now generates the same efficient code as before
adding the defining_class parameter..
(cherry picked from commit a055dac)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Apr 30, 2022

GH-92079 is a backport of this pull request to the 3.10 branch.

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Apr 30, 2022

GH-92080 is a backport of this pull request to the 3.9 branch.

@erlend-aasland
Copy link

@erlend-aasland erlend-aasland commented Apr 30, 2022

I started to review this PR, but I never got around to finish the review. I did take a good and long look1 at the changes; they make sense, and I did not find any issues. So, approved post merge :)

Thanks for doing this, Serhiy!

Footnotes

  1. it took me several days, as I was not familiar with how clinic.py actually worked

@serhiy-storchaka serhiy-storchaka deleted the clinic-defining_class branch Apr 30, 2022
@serhiy-storchaka
Copy link
Author

@serhiy-storchaka serhiy-storchaka commented Apr 30, 2022

Well, I don't think anyone has a complete picture in their head right now. At least not for a long time.

gvanrossum pushed a commit to gvanrossum/cpython that referenced this issue May 1, 2022
…ythonGH-91739)

Argument Clinic now generates the same efficient code as before
adding the defining_class parameter.
gvanrossum pushed a commit to gvanrossum/cpython that referenced this issue May 1, 2022
…ythonGH-91739)

Argument Clinic now generates the same efficient code as before
adding the defining_class parameter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expert-argument-clinic performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants