[issue8380] Port of the gdb7 debugging hooks to the py3k branch

2010-04-21 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Looking at issue 8480, it looks like this a partial fix was applied, which will mean this patch will no longer apply. Should I regenerate a patch against what's now in SVN, or should we use my patch? --

[issue8380] Port of the gdb7 debugging hooks to the py3k branch

2010-04-21 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8380 ___ ___ Python-bugs-list mailing

[issue8380] Port of the gdb7 debugging hooks to the py3k branch

2010-04-21 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Looking at issue 8480, it looks like this a partial fix was applied, Martin fixed calls to assertListing(). I renamed PyStringObjectStr to PyBytesStringPtr and used a breakpoint on textiowrapper_write() instead of

[issue8380] Port of the gdb7 debugging hooks to the py3k branch

2010-04-21 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Thanks; I'm working on a newer version of the patch based on what's in SVN. I prefer your choice of breakpoint, and I've changed my mind about the python2 vs python3 proxyval handling. Hope to have a fresh patch later today. --

[issue8380] Port of the gdb7 debugging hooks to the py3k branch

2010-04-21 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: I'm attaching a new version of the patch, for the py3k branch. I changed my mind back about the breakpoint, using id and builtin_id as in my original patch. I prefer it since it has a single argument, which makes it very convenient to work

[issue8380] Port of the gdb7 debugging hooks to the py3k branch

2010-04-21 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the patch; applied as r80324. As it is an improvement over the status quo, I've applied it; I'll also be closing this issue. I still get test failures which I report as a separate bug report. As for displaying strings: I think

[issue8380] Port of the gdb7 debugging hooks to the py3k branch

2010-04-12 Thread Dave Malcolm
New submission from Dave Malcolm dmalc...@redhat.com: I'm attaching a patch for the py3k branch to port the gdb hooks to Python 3. The libpython.py code installed to python-gdb.py knows about the internal details of the Python within the tree. This patch makes the necessary changes to that

[issue8380] Port of the gdb7 debugging hooks to the py3k branch

2010-04-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Should we call it libpython3.py, in order to distinguish it from the 2.x version? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8380

[issue8380] Port of the gdb7 debugging hooks to the py3k branch

2010-04-12 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Should we call it libpython3.py, in order to distinguish it from the 2.x version? We could; it gets copied to python-gdb.py by the Makefile though. The code is intended to track the low-level implementation details of the tree that its in,