FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-104469 Convert_testcapi/vectorcall.c to use AC by littlebutt · Pull Request #106557 · python/cpython · GitHub

Repository navigation

gh-104469 Convert_testcapi/vectorcall.c to use AC - #106557

Merged
corona10 merged 6 commits into
python:mainfrom
littlebutt:main
Jul 9, 2023
Merged

corona10 merged 6 commits into
python:mainfrom
littlebutt:main

Conversation

Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

ghost commented Jul 9, 2023 •
edited by ghost
Loading

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

corona10 self-requested a review July 9, 2023 03:13

sobolevn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I don't think that we need to convert test_ prefixed functions. They are executed as tests directly.

corona10 commented Jul 9, 2023

Copy link
Copy Markdown
Member

I don't think that we need to convert test_ prefixed functions. They are executed as tests directly.

Well, I am okay with it. We already did.
#104720

corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

First thing, method names are wrong.
Please change method names and then executing the make clinic

Comment thread Modules/_testcapi/vectorcall.c Outdated
}

/*[clinic input]
_testcapi.test_pyobject_fastcalldict

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
_testcapi.test_pyobject_fastcalldict
_testcapi.pyobject_fastcalldict

Comment thread Modules/_testcapi/vectorcall.c Outdated
}

/*[clinic input]
_testcapi.test_pyobject_vectorcall

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
_testcapi.test_pyobject_vectorcall
_testcapi.pyvectorcall_call

Comment thread Modules/_testcapi/vectorcall.c Outdated
_testcapi.test_pyobject_vectorcall
func: object
func_args: object
kwnames: object = NULL

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
kwnames: object = NULL
kwnames: object = None

Comment thread Modules/_testcapi/vectorcall.c Outdated
}

/*[clinic input]
_testcapi.test_pyvectorcall_call

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
_testcapi.test_pyvectorcall_call
_testcapi.pyvectorcall_call

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

Copy link
Copy Markdown

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

Copy link
Copy Markdown
Contributor Author

@corona10 Thank you for your suggestions and I fixed these method names. But the complaints still exist because of missing arguments in test cases.

corona10 commented Jul 9, 2023

Copy link
Copy Markdown
Member

@corona10 Thank you for your suggestions and I fixed these method names. But the complaints still exist because of missing arguments in test cases.

According to CI, it looks not, did you rebuild the code?

Copy link
Copy Markdown
Contributor Author

@corona10 Thank you for your suggestions and I fixed these method names. But the complaints still exist because of missing arguments in test cases.

According to CI, it looks not, did you rebuild the code?

No, I didn't. I just ran rt.bat -q test_capi directly after generating .c.h file😂. Thank you for help and I learnt a lot.

Comment thread Modules/_testcapi/vectorcall.c Outdated

corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

corona10 merged commit d137c2c into python:main Jul 9, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL