C-API PyObject_Call

moerchendiser2k3 googler.1.webmaster at spamgourmet.com
Tue Mar 16 12:41:16 EDT 2010


In one case I have to check the return value of PyObject_Call, and if
its not of the correct return value,
I throw an exception, but I just get a simple output:

TypeError: Expected an instance of XYZ, no int.

instead of

Traceback (most called...)
TypeError: in line 3, file test.py: expected an instance of XYZ, no
int...



More information about the Python-list mailing list