Skip to content

Conversation

@JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Apr 23, 2025

This can be useful when debugging mypyc issues. For example, you can
manually add some debug prints to the generated C and rerun mypyc
with --skip-c-gen. Now mypyc will build the C code again, with your
manual changes included (this assumes everything else is the same as
during the previous run).

I'm not planning to advertise this as an end-user feature.

JukkaL added 2 commits April 23, 2025 11:05
This can be useful when debugging mypyc issues. For example, you can
manually add some debug prints into the generated C and rerun mypyc
with `--skip-c-gen`. Now mypyc will build the code again, with your
manual changes included (this assumes everything else is the same as
during the previous run).

There are not plans currently to advertise this as an end-user feature.
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@JukkaL JukkaL merged commit 6646ee0 into master Apr 23, 2025
19 checks passed
@JukkaL JukkaL deleted the mypyc-skip-c-gen branch April 23, 2025 12:50
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.

3 participants