Re: C-API: Extract information from function object

2010-03-25 Thread Stefan Behnel
Gabriel Genellina, 24.03.2010 17:49: En Wed, 24 Mar 2010 12:09:27 -0300, moerchendiser2k3 escribió: 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

Re: C-API: Extract information from function object

2010-03-24 Thread Gabriel Genellina
En Wed, 24 Mar 2010 12:09:27 -0300, moerchendiser2k3 escribió: 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 funct

C-API: Extract information from function object

2010-03-24 Thread moerchendiser2k3
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