-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Split up _testinternalcapi.c #108777
Comments
I don't think this is worthwhile. In some ways, having lots of smaller files is its own bit of hassle. Our editors are powerful enough to make it easy to work with a single large file. |
To be clear, I am not proposing breaking up |
Sounds reasonable to me; there's been various efforts the last years that have split up large and unmaintainable files (both .py and .c files) into maintainable chunks. |
Can you give a prototype (list of sections) of how you would like to split this C extension? Does it change the Python test_capi test package? |
For now, I'd just move the 12 |
Do you want to keep this open? |
I think we can close this. |
#93649 and associated PRs split up
_testcapimodule.c
because the file is large and hard to maintain. I'm proposing splitting the tests for the internal C API (Modules/_testinternalcapi.c
) in the same manner for the same reasons. Additionally, I expect the PRs related to PEP 703 to require additional internal C API tests, and I'd like to avoid further cluttering_testinternalcapi.c
.cc @encukou @vstinner
Linked PRs
The text was updated successfully, but these errors were encountered: