Skip to content

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

Merged
JukkaL merged 1 commit into
masterfrom
mypyc-full-fnam
Jun 11, 2025
Merged

[mypyc] Derive .c file name from full module name if using multi_file#19278
JukkaL merged 1 commit into
masterfrom
mypyc-full-fnam

Conversation

@JukkaL

@JukkaL JukkaL commented Jun 11, 2025

Copy link
Copy Markdown
Collaborator

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
@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