Skip to content

[mypyc] feat: extend stararg fastpath from #19629 with star2 fastpath #19630

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

Merged
merged 34 commits into from
Aug 21, 2025

Conversation

BobTheBuidler
Copy link
Contributor

This PR further extends the stararg fastpath PRs (#19623 , #19629) with fastpath logic for star2

All 3 PRs were kept separate in order to make them easier to review and to make the changes in the IR more obvious in a diff. I will rebase this PR once #19623 and #19629 are merged.

This full series of PRs is ready for review.

@BobTheBuidler

This comment was marked as resolved.

@JukkaL
Copy link
Collaborator

JukkaL commented Aug 19, 2025

Might be best to hold off on this one until #1956 is merged and we can ensure PyDict_Copy is safe

#1956 was fixed in 2016 -- do you mean some other issue?

@BobTheBuidler
Copy link
Contributor Author

BobTheBuidler commented Aug 19, 2025

You can disregard that comment. I was confused at the time but already addressed my own concern.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good. Left a few comments about tests, and also can you check that there are run tests that cover this functionality (there may be pre-existing tests but I'm not sure)?

@BobTheBuidler
Copy link
Contributor Author

I added the same new test cases on both this PR and on #19631

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates!

@JukkaL JukkaL merged commit 8da097d into python:master Aug 21, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants