This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2008-08-20.01:08:13
SpamBayes Score 9.0930506e-08
Marked as misclassified No
Message-id <1219194498.13.0.487280154525.issue3610@psf.upfronthosting.co.za>
In-reply-to
Content
I'm trying to track down a bug in Python 3.0 (or my program?). I fixed 
some functions of gdbinit:
 - pystack and pylocals: use the new function py_printstr
 - lineno: call CPython "PyCode_Addr2Line" instead of ugly gdb 
reimplementation

New functions:
 - py_decref: decrement the reference counter and *always* call 
_Py_Dealloc(obj)
 - py_printstr: display a string as UTF-8 using printf "%s" and 
PyUnicodeUCS2_AsUTF8String()

Problem: PyUnicode_AsUTF8String() is unknown, so I have to use 
PyUnicodeUCS2_AsUTF8String... (but it can be UCS4)

I'm unable to test pylocals, I don't know the good context to test it. 
In PyEval_EvalFrameEx if fails because "f" is unknown but pystack 
works and pystack calls lineno which uses "f" !?
History
Date User Action Args
2008-08-20 01:08:18vstinnersetrecipients: + vstinner
2008-08-20 01:08:18vstinnersetmessageid: <1219194498.13.0.487280154525.issue3610@psf.upfronthosting.co.za>
2008-08-20 01:08:17vstinnerlinkissue3610 messages
2008-08-20 01:08:16vstinnercreate