== CPython 3.3.0a0 (default:221ca00121ef, Jul 30 2011, 10:15:46) [GCC 4.5.2] == Linux-2.6.38.8-desktop-4.mga-x86_64-with-mandrake-1-Official little-endian == /tmp/test_python_21952 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0) [1/1] test_gdb test_NULL_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with NULL ob_type is handled gracefully ... FAIL test_NULL_ptr (test.test_gdb.PrettyPrintTests) Ensure that a NULL PyObject* is handled gracefully ... ok test_builtin_method (test.test_gdb.PrettyPrintTests) ... FAIL test_builtins_help (test.test_gdb.PrettyPrintTests) Ensure that the new-style class _Helper in site.py can be handled ... FAIL test_bytes (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of bytes ... FAIL test_corrupt_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a corrupt ob_type is handled gracefully ... FAIL test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_flags is handled ... FAIL test_corrupt_tp_name (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_name is handled ... FAIL test_dicts (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of dictionaries ... FAIL test_exceptions (test.test_gdb.PrettyPrintTests) ... FAIL test_frames (test.test_gdb.PrettyPrintTests) ... FAIL test_frozensets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of frozensets ... FAIL test_getting_backtrace (test.test_gdb.PrettyPrintTests) ... ok test_int (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "int"/long values ... FAIL test_lists (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of lists ... FAIL test_modern_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of new-style class instances ... FAIL test_selfreferential_dict (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a dict doesn't lead proxyval ... FAIL test_selfreferential_list (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a list doesn't lead proxyval ... FAIL test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ... FAIL test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ... FAIL test_sets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of sets ... FAIL test_singletons (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of True, False and None ... FAIL test_strings (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of unicode strings ... FAIL test_subclassing_list (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a list subclass ... FAIL test_subclassing_tuple (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a tuple subclass ... FAIL test_truncation (test.test_gdb.PrettyPrintTests) Verify that very long output is truncated ... FAIL test_tuples (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of tuples ... FAIL test_basic_command (test.test_gdb.PyListTests) Verify that the "py-list" command works ... FAIL test_one_abs_arg (test.test_gdb.PyListTests) Verify the "py-list" command with one absolute argument ... FAIL test_two_abs_args (test.test_gdb.PyListTests) Verify the "py-list" command with two absolute arguments ... FAIL test_down_at_bottom (test.test_gdb.StackNavigationTests) Verify handling of "py-down" at the bottom of the stack ... FAIL test_pyup_command (test.test_gdb.StackNavigationTests) Verify that the "py-up" command works ... FAIL test_up_at_top (test.test_gdb.StackNavigationTests) Verify handling of "py-up" at the top of the stack ... FAIL test_up_then_down (test.test_gdb.StackNavigationTests) Verify "py-up" followed by "py-down" ... FAIL test_bt (test.test_gdb.PyBtTests) Verify that the "py-bt" command works ... FAIL test_bt_full (test.test_gdb.PyBtTests) Verify that the "py-bt-full" command works ... FAIL test_basic_command (test.test_gdb.PyPrintTests) Verify that the "py-print" command works ... FAIL test_print_after_up (test.test_gdb.PyPrintTests) ... FAIL test_printing_builtin (test.test_gdb.PyPrintTests) ... FAIL test_printing_global (test.test_gdb.PyPrintTests) ... FAIL test_basic_command (test.test_gdb.PyLocalsTests) ... FAIL test_locals_after_up (test.test_gdb.PyLocalsTests) ... FAIL ====================================================================== FAIL: test_NULL_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with NULL ob_type is handled gracefully ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 393, in test_NULL_ob_type 'set v->ob_type=0') File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 378, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: '0x8973d0' Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5f40438 "id(42)\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5f40438 "id(42)\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(42)\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_builtin_method (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 515, in test_builtin_method (gdb_repr, gdb_output)) AssertionError: None is not true : Unexpected gdb representation: '0x7ffff5cda060' Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f663a8, v=0x7ffff5cda060) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f663a8, v=0x7ffff5cda060) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce58, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb1d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f2adc0, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f2adc0, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x9951b0, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb60, arena=0x94e8c0) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5d22340 "import sys; id(sys.stdout.readlines)\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb60) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5d22340 "import sys; id(sys.stdout.readlines)\n", flags=0x7fffffffdb60) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"import sys; id(sys.stdout.readlines)\n", cf=0x7fffffffdb60) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd48) at ./Modules/python.c:59 ====================================================================== FAIL: test_builtins_help (test.test_gdb.PrettyPrintTests) Ensure that the new-style class _Helper in site.py can be handled ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 421, in test_builtins_help msg='Unexpected rendering %r' % gdb_repr) AssertionError: None is not true : Unexpected rendering '0x7ffff5c0b3e0' ====================================================================== FAIL: test_bytes (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of bytes ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 219, in test_bytes self.assertGdbRepr(b'') File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 190, in assertGdbRepr % (gdb_repr, exp_repr, gdb_output))) AssertionError: '0x7ffff7fc2828' != "b''" - 0x7ffff7fc2828 + b'' : '0x7ffff7fc2828' did not equal expected "b''"; full output was: Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x7ffff7fc2828) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x7ffff7fc2828) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff638ec10 "id(b'')\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff638ec10 "id(b'')\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(b'')\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_corrupt_ob_type (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a corrupt ob_type is handled gracefully ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 399, in test_corrupt_ob_type exprepr='42') File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 378, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: '0x8973d0' Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5f40438 "id(42)\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5f40438 "id(42)\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(42)\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_corrupt_tp_flags (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_flags is handled ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 405, in test_corrupt_tp_flags exprepr='42') File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 378, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: '0x8973d0' Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5f40438 "id(42)\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5f40438 "id(42)\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(42)\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_corrupt_tp_name (test.test_gdb.PrettyPrintTests) Ensure that a PyObject* with a type with corrupt tp_name is handled ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 411, in test_corrupt_tp_name exprepr='42') File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 378, in assertSane (gdb_repr, gdb_output)) AssertionError: Unexpected gdb representation: '0x8973d0' Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5f40438 "id(42)\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5f40438 "id(42)\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(42)\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_dicts (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of dictionaries ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 208, in test_dicts self.assertGdbRepr({}) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 190, in assertGdbRepr % (gdb_repr, exp_repr, gdb_output))) AssertionError: '0x7ffff5cdc2f0' != '{}' - 0x7ffff5cdc2f0 + {} : '0x7ffff5cdc2f0' did not equal expected '{}'; full output was: Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x7ffff5cdc2f0) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x7ffff5cdc2f0) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5f40438 "id({})\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5f40438 "id({})\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id({})\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_exceptions (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 297, in test_exceptions "RuntimeError('I am an error',)") AssertionError: '0x7ffff5d1f9f0' != "RuntimeError('I am an error',)" - 0x7ffff5d1f9f0 + RuntimeError('I am an error',) ====================================================================== FAIL: test_frames (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 530, in test_frames 'Unexpected gdb representation: %r\n%s' % (gdb_output, gdb_output)) AssertionError: None is not true : Unexpected gdb representation: 'Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919.\n[Thread debugging using libthread_db enabled]\n\nBreakpoint 1, builtin_id (self=0x7ffff7f663a8, v=0x7ffff7f2adc0) at Python/bltinmodule.c:919\n919\t return PyLong_FromVoidPtr(v);\n$1 = (PyFrameObject *) 0x7ffff5cde630\n' Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f663a8, v=0x7ffff7f2adc0) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); $1 = (PyFrameObject *) 0x7ffff5cde630 ====================================================================== FAIL: test_frozensets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of frozensets ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 284, in test_frozensets self.assertGdbRepr(frozenset()) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 190, in assertGdbRepr % (gdb_repr, exp_repr, gdb_output))) AssertionError: '0x7ffff7e2c060' != 'frozenset()' - 0x7ffff7e2c060 + frozenset() : '0x7ffff7e2c060' did not equal expected 'frozenset()'; full output was: Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f663a8, v=0x7ffff7e2c060) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f663a8, v=0x7ffff7e2c060) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce68, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x9950b8, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb70, arena=0x94e870) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5cd7dd8 "id(frozenset())\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb70) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5cd7dd8 "id(frozenset())\n", flags=0x7fffffffdb70) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(frozenset())\n", cf=0x7fffffffdb70) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd58) at ./Modules/python.c:59 ====================================================================== FAIL: test_int (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of various "int"/long values ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 194, in test_int self.assertGdbRepr(42) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 190, in assertGdbRepr % (gdb_repr, exp_repr, gdb_output))) AssertionError: '0x8973d0' != '42' - 0x8973d0 + 42 : '0x8973d0' did not equal expected '42'; full output was: Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x8973d0) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5f40438 "id(42)\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5f40438 "id(42)\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(42)\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_lists (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of lists ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 214, in test_lists self.assertGdbRepr([]) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 190, in assertGdbRepr % (gdb_repr, exp_repr, gdb_output))) AssertionError: '0x7ffff5d02498' != '[]' - 0x7ffff5d02498 + [] : '0x7ffff5d02498' did not equal expected '[]'; full output was: Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x7ffff5d02498) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x7ffff5d02498) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5f40438 "id([])\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5f40438 "id([])\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id([])\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_modern_class (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of new-style class instances ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 320, in test_modern_class msg='Unexpected new-style class rendering %r' % gdb_repr) AssertionError: None is not true : Unexpected new-style class rendering '0x7ffff7e60290' ====================================================================== FAIL: test_selfreferential_dict (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a dict doesn't lead proxyval ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 440, in test_selfreferential_dict self.assertEqual(gdb_repr, "{'foo': {'bar': {...}}}") AssertionError: '0x7ffff5cdc2f0' != "{'foo': {'bar': {...}}}" - 0x7ffff5cdc2f0 + {'foo': {'bar': {...}}} ====================================================================== FAIL: test_selfreferential_list (test.test_gdb.PrettyPrintTests) Ensure that a reference loop involving a list doesn't lead proxyval ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 428, in test_selfreferential_list self.assertEqual(gdb_repr, '[3, 4, 5, [...]]') AssertionError: '0x7ffff5d02498' != '[3, 4, 5, [...]]' - 0x7ffff5d02498 + [3, 4, 5, [...]] ====================================================================== FAIL: test_selfreferential_new_style_instance (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 466, in test_selfreferential_new_style_instance (gdb_repr, gdb_output)) AssertionError: None is not true : Unexpected gdb representation: '0x7ffff7e60290' Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f663a8, v=0x7ffff7e60290) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f663a8, v=0x7ffff7e60290) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce38, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff5cde440, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f2bdc0, globals=0x7ffff7ed66c8, locals=0x7ffff7ed66c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f2bdc0, globals=0x7ffff7ed66c8, locals=0x7ffff7ed66c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x9954d0, filename=0x5d6fd2 "", globals=0x7ffff7ed66c8, locals=0x7ffff7ed66c8, flags=0x7fffffffdb40, arena=0x94e940) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags ( str=0x7ffff7eed238 "\nclass Foo(object):\n pass\nfoo = Foo()\nfoo.an_attr = foo\nid(foo)\n", start=257, globals=0x7ffff7ed66c8, locals=0x7ffff7ed66c8, flags=0x7fffffffdb40) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags ( command=0x7ffff7eed238 "\nclass Foo(object):\n pass\nfoo = Foo()\nfoo.an_attr = foo\nid(foo)\n", flags=0x7fffffffdb40) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command ( command=0x89c500 L"\nclass Foo(object):\n pass\nfoo = Foo()\nfoo.an_attr = foo\nid(foo)\n", cf=0x7fffffffdb40) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd28) at ./Modules/python.c:59 ====================================================================== FAIL: test_selfreferential_old_style_instance (test.test_gdb.PrettyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 453, in test_selfreferential_old_style_instance (gdb_repr, gdb_output)) AssertionError: None is not true : Unexpected gdb representation: '0x7ffff7e60290' Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f663a8, v=0x7ffff7e60290) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f663a8, v=0x7ffff7e60290) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce48, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff5cd1618, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f2adc0, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f2adc0, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x9953e8, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb50, arena=0x94e920) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags ( str=0x7ffff639b6a0 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_attr = foo\nid(foo)\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb50) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags ( command=0x7ffff639b6a0 "\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_attr = foo\nid(foo)\n", flags=0x7fffffffdb50) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command ( command=0x89c500 L"\nclass Foo:\n pass\nfoo = Foo()\nfoo.an_attr = foo\nid(foo)\n", cf=0x7fffffffdb50) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd38) at ./Modules/python.c:59 ====================================================================== FAIL: test_sets (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of sets ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 271, in test_sets self.assertGdbRepr(set()) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 190, in assertGdbRepr % (gdb_repr, exp_repr, gdb_output))) AssertionError: '0x7ffff5f43060' != 'set()' - 0x7ffff5f43060 + set() : '0x7ffff5f43060' did not equal expected 'set()'; full output was: Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x7ffff5f43060) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x7ffff5f43060) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x9950a8, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e860) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff638ebb0 "id(set())\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff638ebb0 "id(set())\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(set())\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_singletons (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of True, False and None ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 202, in test_singletons self.assertGdbRepr(True) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 190, in assertGdbRepr % (gdb_repr, exp_repr, gdb_output))) AssertionError: '0x861900' != 'True' - 0x861900 + True : '0x861900' did not equal expected 'True'; full output was: Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x861900) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x861900) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff638ec10 "id(True)\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff638ec10 "id(True)\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(True)\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_strings (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of unicode strings ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 243, in test_strings self.assertGdbRepr('') File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 190, in assertGdbRepr % (gdb_repr, exp_repr, gdb_output))) AssertionError: '0x7ffff7f64520' != "''" - 0x7ffff7f64520 + '' : '0x7ffff7f64520' did not equal expected "''"; full output was: Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x7ffff7f64520) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x7ffff7f64520) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5f40438 "id('')\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5f40438 "id('')\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id('')\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_subclassing_list (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a list subclass ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 334, in test_subclassing_list msg='Unexpected new-style class rendering %r' % gdb_repr) AssertionError: None is not true : Unexpected new-style class rendering '0x7ffff5cd6418' ====================================================================== FAIL: test_subclassing_tuple (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of an instance of a tuple subclass ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 349, in test_subclassing_tuple msg='Unexpected new-style class rendering %r' % gdb_repr) AssertionError: None is not true : Unexpected new-style class rendering '0x7ffff639b690' ====================================================================== FAIL: test_truncation (test.test_gdb.PrettyPrintTests) Verify that very long output is truncated ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 486, in test_truncation "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, " AssertionError: '0x7ffff5d223a8' != '[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, [truncated]... Diff is 1059 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_tuples (test.test_gdb.PrettyPrintTests) Verify the pretty-printing of tuples ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 265, in test_tuples self.assertGdbRepr(tuple()) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 190, in assertGdbRepr % (gdb_repr, exp_repr, gdb_output))) AssertionError: '0x7ffff7f9d060' != '()' - 0x7ffff7f9d060 + () : '0x7ffff7f9d060' did not equal expected '()'; full output was: Breakpoint 1 at 0x47125f: file Python/bltinmodule.c, line 919. [Thread debugging using libthread_db enabled] Breakpoint 1, builtin_id (self=0x7ffff7f653a8, v=0x7ffff7f9d060) at Python/bltinmodule.c:919 919 return PyLong_FromVoidPtr(v); #0 builtin_id (self=0x7ffff7f653a8, v=0x7ffff7f9d060) at Python/bltinmodule.c:919 #1 0x0000000000489d6e in call_function (pp_stack=0x7fffffffce78, oparg=1) at Python/ceval.c:3988 #2 0x0000000000483e7a in PyEval_EvalFrameEx (f=0x7ffff7fb0d80, throwflag=0) at Python/ceval.c:2625 #3 0x0000000000487bb9 in PyEval_EvalCodeEx (_co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375 #4 0x0000000000477bc9 in PyEval_EvalCode (co=0x7ffff7f22880, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8) at Python/ceval.c:770 #5 0x00000000004bf001 in run_mod (mod=0x995060, filename=0x5d6fd2 "", globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80, arena=0x94e850) at Python/pythonrun.c:1793 #6 0x00000000004becff in PyRun_StringFlags (str=0x7ffff5f40438 "id(())\n", start=257, globals=0x7ffff7f556c8, locals=0x7ffff7f556c8, flags=0x7fffffffdb80) at Python/pythonrun.c:1727 #7 0x00000000004bd397 in PyRun_SimpleStringFlags (command=0x7ffff5f40438 "id(())\n", flags=0x7fffffffdb80) at Python/pythonrun.c:1300 #8 0x00000000004d83bf in run_command (command=0x89c500 L"id(())\n", cf=0x7fffffffdb80) at Modules/main.c:260 #9 0x00000000004d8f10 in Py_Main (argc=4, argv=0x7ffff7f9a040) at Modules/main.c:634 #10 0x0000000000416f67 in main (argc=4, argv=0x7fffffffdd68) at ./Modules/python.c:59 ====================================================================== FAIL: test_basic_command (test.test_gdb.PyListTests) Verify that the "py-list" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 539, in test_basic_command cmds_after_breakpoint=['py-list']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-list". Try "help".\n' != '' - Undefined command: "py-list". Try "help". ====================================================================== FAIL: test_one_abs_arg (test.test_gdb.PyListTests) Verify the "py-list" command with one absolute argument ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 554, in test_one_abs_arg cmds_after_breakpoint=['py-list 9']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-list". Try "help".\n' != '' - Undefined command: "py-list". Try "help". ====================================================================== FAIL: test_two_abs_args (test.test_gdb.PyListTests) Verify the "py-list" command with two absolute arguments ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 565, in test_two_abs_args cmds_after_breakpoint=['py-list 1,3']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-list". Try "help".\n' != '' - Undefined command: "py-list". Try "help". ====================================================================== FAIL: test_down_at_bottom (test.test_gdb.StackNavigationTests) Verify handling of "py-down" at the bottom of the stack ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 588, in test_down_at_bottom cmds_after_breakpoint=['py-down']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-down". Try "help".\n' != '' - Undefined command: "py-down". Try "help". ====================================================================== FAIL: test_pyup_command (test.test_gdb.StackNavigationTests) Verify that the "py-up" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 577, in test_pyup_command cmds_after_breakpoint=['py-up']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-up". Try "help".\n' != '' - Undefined command: "py-up". Try "help". ====================================================================== FAIL: test_up_at_top (test.test_gdb.StackNavigationTests) Verify handling of "py-up" at the top of the stack ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 596, in test_up_at_top cmds_after_breakpoint=['py-up'] * 4) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-up". Try "help".\nUndefined command: "py-up". Try "hel [truncated]... != '' - Undefined command: "py-up". Try "help". - Undefined command: "py-up". Try "help". - Undefined command: "py-up". Try "help". - Undefined command: "py-up". Try "help". ====================================================================== FAIL: test_up_then_down (test.test_gdb.StackNavigationTests) Verify "py-up" followed by "py-down" ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 604, in test_up_then_down cmds_after_breakpoint=['py-up', 'py-down']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-up". Try "help".\nUndefined command: "py-down". Try "h [truncated]... != '' - Undefined command: "py-up". Try "help". - Undefined command: "py-down". Try "help". ====================================================================== FAIL: test_bt (test.test_gdb.PyBtTests) Verify that the "py-bt" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 617, in test_bt cmds_after_breakpoint=['py-bt']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-bt". Try "help".\n' != '' - Undefined command: "py-bt". Try "help". ====================================================================== FAIL: test_bt_full (test.test_gdb.PyBtTests) Verify that the "py-bt-full" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 634, in test_bt_full cmds_after_breakpoint=['py-bt-full']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-bt-full". Try "help".\n' != '' - Undefined command: "py-bt-full". Try "help". ====================================================================== FAIL: test_basic_command (test.test_gdb.PyPrintTests) Verify that the "py-print" command works ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 649, in test_basic_command cmds_after_breakpoint=['py-print args']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-print". Try "help".\n' != '' - Undefined command: "py-print". Try "help". ====================================================================== FAIL: test_print_after_up (test.test_gdb.PyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 656, in test_print_after_up cmds_after_breakpoint=['py-up', 'py-print c', 'py-print b', 'py-print a']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-up". Try "help".\nUndefined command: "py-print". Try " [truncated]... != '' - Undefined command: "py-up". Try "help". - Undefined command: "py-print". Try "help". - Undefined command: "py-print". Try "help". - Undefined command: "py-print". Try "help". ====================================================================== FAIL: test_printing_builtin (test.test_gdb.PyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 668, in test_printing_builtin cmds_after_breakpoint=['py-print len']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-print". Try "help".\n' != '' - Undefined command: "py-print". Try "help". ====================================================================== FAIL: test_printing_global (test.test_gdb.PyPrintTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 662, in test_printing_global cmds_after_breakpoint=['py-print __name__']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-print". Try "help".\n' != '' - Undefined command: "py-print". Try "help". ====================================================================== FAIL: test_basic_command (test.test_gdb.PyLocalsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 675, in test_basic_command cmds_after_breakpoint=['py-locals']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-locals". Try "help".\n' != '' - Undefined command: "py-locals". Try "help". ====================================================================== FAIL: test_locals_after_up (test.test_gdb.PyLocalsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 682, in test_locals_after_up cmds_after_breakpoint=['py-up', 'py-locals']) File "/home/antoine/cpython/default/usr/lib/python3.3/test/test_gdb.py", line 135, in get_stack_trace self.assertEqual(err, '') AssertionError: 'Undefined command: "py-up". Try "help".\nUndefined command: "py-locals". Try [truncated]... != '' - Undefined command: "py-up". Try "help". - Undefined command: "py-locals". Try "help". ---------------------------------------------------------------------- Ran 42 tests in 8.596s FAILED (failures=40) 1 test failed: test_gdb