Skip to content

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

Merged
JukkaL merged 1 commit intomasterfrom
mypyc-c99-error-value
Jun 16, 2023
Merged

[mypyc] Use C99 compound literals for undefined tuple values#15453
JukkaL merged 1 commit intomasterfrom
mypyc-c99-error-value

Conversation

@JukkaL
Copy link
Copy Markdown
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
Copy Markdown
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
@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.

1 participant