-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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-114917: fix typo post gh-114918 #131413
Conversation
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.
I'm surprised that it wasn't detected by the compiler, but I think we don't test this part of the code? because AFAICT, ai
is not a pointer.
we don't even compile it because it's conditionally including the c file |
Yes, but shouldn't we have some coverage for such code then? at least from the CI perspective |
I guess optimally we would. This would require a separate test / build target though where we enforce that the fallback implementation is used. Edit: If that's something we want I can open a separate issue for that. From my perspective we should:
|
Merged. Well, it happens with code which is not tested by our CIs. |
I would say it's always good to add coverage for something that we use as a fallback implementation. However, I don't know how frequent it is to use the fallback implementation. I don't know how hard it will be to write such tests, but we should at least test that the file compiles (namely, we should at least have a build bot that we can test the implementation on). |
These changes are to support PlayStation platform: #114918 (comment) PlayStation is not supported by PEP 11. I don't think that it's worth it to spend more time on this issue, it's now solved. |
@vstinner when taking the patch from here back to our code base I noticed that apparently I made a typo along the way 😓