Skip to content

[mypyc] Don't simplify module prefixes if using separate compilation#19206

Merged
JukkaL merged 4 commits intomasterfrom
mypyc-incr-cfunc-naming
Jun 2, 2025
Merged

[mypyc] Don't simplify module prefixes if using separate compilation#19206
JukkaL merged 4 commits intomasterfrom
mypyc-incr-cfunc-naming

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jun 2, 2025

Mypyc shortens module prefixes to generate nicer, shorter C names. However, this assumes that we know all possible module prefixes. When doing separate compilation, we only have access to a subset of possible module prefixes, so there's no good way to shorten module prefixes while keeping names unique.

@JukkaL JukkaL merged commit 1e372f4 into master Jun 2, 2025
13 checks passed
@JukkaL JukkaL deleted the mypyc-incr-cfunc-naming branch June 2, 2025 14:07
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.

2 participants