KEMBAR78
[mypyc] Only generate an export table if using separate compilation by JukkaL · Pull Request #19521 · python/mypy · GitHub
Skip to content

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jul 28, 2025

When not using separate compilation, the export table is not used. Also, there's actually no simple and safe way to use it without separate compilation, since we'd have to first ensure that the structure of the export table is compatible, as otherwise the order of fields or the types of the fields could be incompatible and cause segfaults and other fun stuff.

When not using separate compilation, the export table is not
used. Also, there's actually no simple and safe way to use it without
separate compilation, since we'd have to first ensure that the
structure of the export table is compatible, as otherwise the order of
fields or the types of the fields could be incompatible and cause
segfaults and other fun stuff.
@JukkaL JukkaL merged commit 3a2b788 into master Jul 28, 2025
13 checks passed
@JukkaL JukkaL deleted the mypyc-export-table branch July 28, 2025 13:18
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