STINNER Victor <[email protected]> added the comment:
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");.
----------
title: test_gdb: No stack -> test_gdb in Python3: No stack
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8479>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com