Repository navigation
Conversation
| def push_cache(self, op_name: str, cached_items:list[str], outputs: int, out: CWriter) -> None: | ||
| for i, name in enumerate(cached_items): | ||
| out.start_line() | ||
| if (op_name == "_CALL_TYPE_1" and outputs == 2) \ |
There was a problem hiding this comment.
I think this is too fragile. Can't we just have a maybe unused attribute instead? and what about clang attributes? (AFAICT this is a GCC attribute only).
I do not think the unused variable warnings need to be suppressed.
There was a problem hiding this comment.
Can the Py_UNUSED macro be applied to lvalue variables?
There was a problem hiding this comment.
I don't think so. But again is there a need to suppress such warnings? we provide no guarantee for -Wall -Werror/-Wpedantic and I do not see value in suppressing unused variable warninga in general.
|
@picnixz @StanFromIreland @hugovk @vstinner @ericsnowcurrently @markshannon @Fidget-Spinner, comments on this PR? |
|
@clin1234 please do not randomly ping people. After three months you can post a little review reminder, but don't ping people (like me) who aren't CODEOWNERs of these files, unless they expressed interest in this earlier. |
|
This PR is stale because it has been open for 90 days with no activity. |
10c6dc4 to
0d44ef5
Compare
|
@clin1234, again, please see #148696 (comment). |
48111de to
2db3a21
Compare
bad8de6 to
7fe01c6
Compare
|
Strange error on AArch64 Windows : |
Fixed in #162262. |
|
Ah, re-running only the failed action to save CI does use the same base, so this will need "update branch", which I am refraining from just to get it green. In case it still does not work next time CI triggers due to an (important) commit, #162279 (comment) might fix it. |
7fe01c6 to
b4e54dd
Compare
| @@ -0,0 +1 @@ | |||
| Lint warnings in cases generator, ceval with GIL, and optimizer. | |||
There was a problem hiding this comment.
I do not think this needs a NEWS entry (or if so, it should be clearer because this sentence does not explain much)
|
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 |
Uh oh!
There was an error while loading. Please reload this page.