-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-136288: Correct error display in _testcapi/vectorcall.c #136258
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
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
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.
Please make an issue for posterity.
Use %N instead of %S and PyType_GetName.
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, thanks. I've created gh-136288 and attached it to the PR for you.
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
Thanks @wsfulton for the PR, and @ZeroIntensity for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…nGH-136258) Use the %N format specifier instead of %s and `PyType_GetName`. (cherry picked from commit d1d5dce) Co-authored-by: William S Fulton <wsf@fultondesigns.co.uk>
GH-136294 is a backport of this pull request to the 3.14 branch. |
…nGH-136258) Use the %N format specifier instead of %s and `PyType_GetName`. (cherry picked from commit d1d5dce) Co-authored-by: William S Fulton <wsf@fultondesigns.co.uk>
GH-136295 is a backport of this pull request to the 3.13 branch. |
Correct incorrect conversion specifier in test from %s to %S for
PyObject *
. I could have added a test, but that would be testing the test!_testcapi
has invalid usage ofPyType_GetName
#136288