Message71501
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" !? |
|
Date |
User |
Action |
Args |
2008-08-20 01:08:18 | vstinner | set | recipients:
+ vstinner |
2008-08-20 01:08:18 | vstinner | set | messageid: <1219194498.13.0.487280154525.issue3610@psf.upfronthosting.co.za> |
2008-08-20 01:08:17 | vstinner | link | issue3610 messages |
2008-08-20 01:08:16 | vstinner | create | |
|