David Coles added the comment: And here's the patch for Python 2.7.
The result of testing is as follows: - python (default) against py2-linked gdb: All tests pass - python (2.7) against py2-linked gdb: `test_long` fails. - python (default) against py3-linked gdb: All tests pass - python (2.7) against py3-linked gdb: `test_long`, `test_strings` and `test_unicode` fail. `test_long` has been removed from the default branch, in addition gdb doesn't seem to distinguish printing 0 from 0L. `test_strings` likely fails since Python 3 will print printable unicode characters (like "\xff") while Python 2 will not. `test_unicode` likely fails due to the 'u' prefix on unicode strings in Python 2. This kind of behavior is pretty much expected when cross-testing gdb. ---------- Added file: http://bugs.python.org/file32273/python27-gdb_py3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19308> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com