Skip to content

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

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

Merged
merged 4 commits into from
Jun 2, 2025

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