Skip to content
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

[mypyc] Use C99 compound literals for undefined tuple values #15453

Merged
merged 1 commit into from Jun 16, 2023

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jun 16, 2023

This simplifies things a bit. All the C compilers we care about should support this.

This will make things easier once we support more types represented as C structs.

I expect this to have no measurable impact on performance.

This simplified things a bit. All the C compilers we care about should
support this.

This will make things easier once we support more types represented as
C structs.

I expect this to have no measurable impact on performance.
@JukkaL
Copy link
Collaborator Author

JukkaL commented Jun 16, 2023

The same test is failing on master, so it's not caused by this PR. I'm not going to wait for a review, since this is just a simple tweak to the generated code.

@JukkaL JukkaL merged commit 65a715a into master Jun 16, 2023
14 of 15 checks passed
@JukkaL JukkaL deleted the mypyc-c99-error-value branch June 16, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant