C-API PyObject_Call

Stefan Behnel stefan_ml at behnel.de
Tue Mar 16 12:18:01 EDT 2010


moerchendiser2k3, 16.03.2010 12:52:
> i have a serious problem and I am looking for a solution. I pass an
> instance of a class from a file to PyObject_Call. When something
> fails, I get a full traceback. If it succeeds, I get the return value.
>
> Is it possible to get information from which line/file the return
> value of PyObject_Call is?

Could you explain what you want to do with this information and in what 
cases you need it? Do you want to extract the information programmatically 
at runtime?

Stefan




More information about the Python-list mailing list