Python/C++ interface

Jay O'Connor joconnor at
Thu Feb 1 22:28:23 CET 2001

Michael Hudson wrote:

> You missed a METH_VARARGS somewhere.

Ah, yes...I see it my static declaration of the exported method

> > Also,  is there a good way of printing the name of the type of a
> > PyObject?
> Something very like printf(ob->ob_type->tp_name).

Doh!  I was so close to that a few times :)


Jay O'Connor
joconnor at

"God himself plays the bass strings first when He tunes the soul"

More information about the Python-list mailing list