Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

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-storchakaserhiy-storchaka merged commit a055dac into python:mainApr 30, 2022
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

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
Contributor

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 pull request 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 pull request 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

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

@bedevere-bot
Copy link

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

@erlend-aasland
Copy link
Contributor

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-storchakaserhiy-storchaka deleted the clinic-defining_class branch April 30, 2022 13:57
@serhiy-storchaka
Copy link
MemberAuthor

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

serhiy-storchaka added a commit that referenced this pull request May 3, 2022
…GH-91739) (GH-92079) Argument Clinic now generates the same efficient code as before adding the defining_class parameter. (cherry picked from commit a055dac)
serhiy-storchaka added a commit that referenced this pull request May 3, 2022
…H-91739) (GH-92080) Argument Clinic now generates the same efficient code as before adding the defining_class parameter. (cherry picked from commit a055dac)
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
…class (pythonGH-91739) (pythonGH-92080) Argument Clinic now generates the same efficient code as before adding the defining_class parameter. (cherry picked from commit a055dac)
@serhiy-storchakaserhiy-storchaka removed their assignment Jun 21, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performancePerformance or resource usagetopic-argument-clinic

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression in the AC generated code

5 participants

@serhiy-storchaka@miss-islington@bedevere-bot@erlend-aasland@AlexWaygood