-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-106797: Remove warning logs from Python/generated_cases.c.h #106798
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
Warning logs are reduced, but not sure this is a safe way. |
The stmt = f"{dst.name} = {cast}{src.name};"
if src.cond:
stmt = f"if ({src.cond}) {{ {stmt} }}"
self.emit(stmt) |
It works and it will introduce another warning :)
|
It looks like it needs a keyword for |
I solved the issue by using the same approach which was used for assigning rule :) |
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.
Thanks -- that should do it, merge it!
Uh oh!
There was an error while loading. Please reload this page.