C-API: Extract information from function object

moerchendiser2k3 googler.1.webmaster at spamgourmet.com
Wed Mar 24 16:09:27 CET 2010


Hi,

I have a reference to a function and would like to know how to extract
information from a function object.

Information I am looking for: line and file where this function is
from.

PyObject_Call can do this to when I call a function object and
something failed so these information are written to the traceback. So
any suggestions how to do that?

Thx!! moerchendiser2k3



More information about the Python-list mailing list