Author loewis
Recipients dmalcolm, gregory.p.smith, loewis
Date 2010-03-11.19:08:02
SpamBayes Score 1.28634e-10
Marked as misclassified No
Message-id <1268334484.99.0.454938082495.issue8032@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-03-11 19:08:05loewissetrecipients: + loewis, gregory.p.smith, dmalcolm
2010-03-11 19:08:04loewissetmessageid: <1268334484.99.0.454938082495.issue8032@psf.upfronthosting.co.za>
2010-03-11 19:08:03loewislinkissue8032 messages
2010-03-11 19:08:03loewiscreate