Skip to content

[mypyc] Derive .c file name from full module name if using multi_file #19278

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 1 commit into from
Jun 11, 2025

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