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_gdb in Python3: No stack #52725
Comments
test_gdb currently fails on 3k; some tests with a "No stack" message. I'll attach the full output, but would like this issue to focus on the "No stack" failures. |
I may be related to bpo-8482 (compiler optimization level?). |
The problem is that test_gdb is not compatible with Python3. test_gdb uses "print x" syntax instead of "print(x)", and "except XXX, xxx:" instead of "except XXX as xxx:". Note: "print range(1000)" => "print(list(range(1000)))". DebuggerOutput.run_gdb() should also convert the output to unicode, maybe using out = out.decode("ascii"); err = err.decode("ascii");. |
bpo-8380 contains a port of the code and tests to python 3; it's awaiting review. |
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: