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
Add more checks to testcapi #47893
Comments
test_thread_state() doesn't check that the argument is a function and Non callable argument: Callback error: So I wrote a patch which fixes that but also raise_exception() which |
Python 3.0 has an new function which requires an extra patch: >>> import _testcapi
>>> _testcapi.exception_print(10)
Erreur de segmentation (core dumped) |
Your patches are pretty harmless, but this module is just for testing |
@benjamin.peterson: I know but the module (installed in CPython |
Unless someone thinks it's somehow release-critical, I'm retargetting |
Ok. I'll apply your patches when we get to 2.7. Do ping me if a forget, |
@pitrou: This issue is not critical. It's not a bug, it's an |
Still, _testcapi is built even for non-debug builds, so it is a |
Fair enough. Fixed in r66000 (trunk) and r66001 (py3k). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: