Python/C++ interface

Martin von Loewis loewis at informatik.hu-berlin.de
Fri Feb 2 16:59:35 EST 2001


Jay O'Connor <joconnor at cybermesa.com> writes:

> > Something very like printf(ob->ob_type->tp_name).
> 
> 
> Doh!  I was so close to that a few times :)

Or, call _PyObject_Dump(ob). Works nicely from gdb as well (I wish
Misc/gdbinit had been around much longer - I only learned about
_PyObject_Dump from that, either).

Regards,
Martin




More information about the Python-list mailing list