-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
test_interpreters has side effects on test_signal #88129
Comments
vstinner@DESKTOP-DK7VBIL C:\vstinner\python\master>type bisect3 vstinner@DESKTOP-DK7VBIL C:\vstinner\python\master>python -m test test_interpreters test_signal --matchfile=bisect3 -v ---------------------------------------------------------------------- Ran 2 tests in 0.277s OK ====================================================================== Traceback (most recent call last):
File "C:\vstinner\python\master\lib\signal.py", line 47, in signal
handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object Ran 1 test in 0.004s FAILED (errors=1) == Tests result: FAILURE == 1 test OK. 1 test failed: Total duration: 689 ms |
See also bpo-43962: "test_interpreters: when TestInterpreterAttrs.test_id_type() is run alone, it fails with an assertion error". |
See also bpo-43955: "Windows: Running the Python test suite sequentially is interrupted by (Pdb) prompt". |
This issue is a follow-up of bpo-41713: commit 7f9b25a
|
Sorry if I'm not supposed to open closed issues, however I believe there's a typo in the whatsnew page for this. In https://docs.python.org/3.10/whatsnew/changelog.html#changelog, the entry for bpo-43963 says "Importing the signal module in a subinterpreter has no longer side effects.", however I believe it should be "Importing the signal module in a subinterpreter no longer has side effects". The only difference is that "has" is moved after "no longer" instead of before. |
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: