KEMBAR78
[mypyc] Derive .c file name from full module name if using multi_file by JukkaL · Pull Request #19278 · python/mypy · GitHub
Skip to content

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jun 11, 2025

Don't shorten the module name prefixes, so that the names of output files are more predictable. This can help if integrating with build systems, and it arguably also makes it easier to inspect the output manually.

Now the file name could be __native_pkg___mod.c instead of __native_mod.c for the module pkg.mod.

Don't shorten the module name prefixes, so that the names of output
files are more predictable. This can help if integrating with build
systems, and it arguably also makes it easier to inspect the output
manually.

Now the file name could be `__native_pkg___mod.c` instead of
`__native_mod.c` for the module `pkg.mod`.
@JukkaL JukkaL merged commit a7de7ac into master Jun 11, 2025
13 checks passed
@JukkaL JukkaL deleted the mypyc-full-fnam branch June 11, 2025 16:33
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