Roundup Robot added the comment:
New changeset 9f2a0043396b by Antoine Pitrou in branch 'default':
Issue #19308: fix the gdb plugin on gdbs linked with Python 3
http://hg.python.org/cpython/rev/9f2a0043396b
--
nosy: +python-dev
___
Python tracker
Roundup Robot added the comment:
New changeset 752db82b7933 by Antoine Pitrou in branch '3.3':
Issue #19308: fix the gdb plugin on gdbs linked with Python 3
http://hg.python.org/cpython/rev/752db82b7933
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset ef4636faf8bd by Antoine Pitrou in branch '2.7':
Issue #19308: fix the gdb plugin on gdbs linked with Python 3
http://hg.python.org/cpython/rev/ef4636faf8bd
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
I've committed updated patches to all 3 branches (+ some later fixups). Gonna
wait for the buildbots' outcome.
--
resolution: - fixed
stage: patch review - committed/rejected
___
Python tracker
Antoine Pitrou added the comment:
The buildbots look ok now.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19308
___
___
Julian Taylor added the comment:
I tested the latest patch (python27-gdb_py3.patch) with ubuntu 13.10 gdb
compiled against python3.3, while it fixes the syntax errors it does not fix
the functionality.
E.g. one gets this error on breakpoints:
Python Exception class 'gdb.error' There is no
Julian Taylor added the comment:
on further investigation I seem to have screwed up patching the files. Patching
properly they do work. Sorry for the noise.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19308
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)
Antoine Pitrou added the comment:
I've added a review comment to the 3.3 version of the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19308
___
New submission from David Coles:
Tools/gdb/libpython.py is currently Python 3 incompatible. Unfortunately recent
versions of gdb (such as the one provided in Ubuntu 13.10) may be linked
against Python 3 rather than Python 2, breaking debugging support.
Most of the issues appear to be trivial
Changes by Ned Deily n...@acm.org:
--
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19308
___
___
Python-bugs-list mailing list
Matthias Klose added the comment:
should go into 2.7 as well.
--
nosy: +doko
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19308
___
Antoine Pitrou added the comment:
Do you want to provide a patch? It's hard for someone with a py2-linked gcc to
make sure that the libpython pluging works properly.
--
nosy: +pitrou
priority: normal - high
___
Python tracker rep...@bugs.python.org
David Coles added the comment:
Sure thing. I've got a patch attached to
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1241668 but want to make
sure that it doesn't break things on the py2-linked version.
--
___
Python tracker
Antoine Pitrou added the comment:
Can you please try the attached updated patch?
--
keywords: +patch
stage: - patch review
type: - behavior
Added file: http://bugs.python.org/file32264/gdb_py3.patch
___
Python tracker rep...@bugs.python.org
David Coles added the comment:
I ended up with a very similar looking patch - and so merged my changes into
Pitrou's patch.
I also had a go at fixing up the `test_gdb` unit test, which revealed a few
more string/unicode issues. Finally tracked them down to the `write_unicode`
function. Sadly
16 matches
Mail list logo