KEMBAR78
[mypyc] Don't simplify module prefixes if using separate compilation by JukkaL · Pull Request #19206 · python/mypy · GitHub
Skip to content

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