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

Fix downcast compiler warning in Modules/_testcapi/vectorcall.c by erlend-aasland · Pull Request #95729 · python/cpython · GitHub

Repository navigation

Fix downcast compiler warning in Modules/_testcapi/vectorcall.c - #95729

Merged
encukou merged 1 commit into
python:mainfrom
erlend-aasland:fixup-testcapi
Aug 8, 2022
Merged

encukou merged 1 commit into
python:mainfrom
erlend-aasland:fixup-testcapi

Conversation

Copy link
Copy Markdown
Contributor

No description provided.

encukou commented Aug 8, 2022

Copy link
Copy Markdown
Member

Thanks!

erlend-aasland deleted the fixup-testcapi branch August 8, 2022 09:20

erlend-aasland commented Aug 8, 2022 •
edited
Loading

Copy link
Copy Markdown
Contributor Author

Thanks!

You're welcome :) BTW, there are still two unused variable warnings. Either we split the test up: set it up in C, perform the test in Python. Or, we add a pragma to avoid the compiler from emitting a warning in release mode. I'd prefer the first, even though it is a larger change.

encukou commented Aug 8, 2022

Copy link
Copy Markdown
Member

Hm. It seems those only appeared after they were copied to another file, is that right? Is there some existing pragma or some kind of file-based supression?

But that's just me wondering. This should be fixed, I'll continue in #95783.

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.

3 participants


Back | FazBrowse Home | New Git URL