Martin v. Löwis <mar...@v.loewis.de> added the comment:

I find the printing of frame objects confusing:

3033            f = PyFrame_New(tstate, co, globals, locals);
(gdb)
3034            if (f == NULL)
(gdb) p f
$3 = File /home/martin/work/27/Lib/encodings/utf_8.py, line 15, in decode ()

I didn't recognize that this is actually the output of the Frame; I recommend 
something like

  Frame %x, for file ....

Also, it prints NULL PyObject* as "<unknown at remote 0x0>". I think null 
pointers should be special cased, and just be printed as 0x0. Also, what is the 
"remote" keyword? Aren't all pointers remote in this application? I'd hope that 
local Python objects never show up.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8032>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to