C-API PyObject_Call

Steve Holden steve at holdenweb.com
Tue Mar 16 10:24:36 EDT 2010


moerchendiser2k3 wrote:
> Hi,
> 
> 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?
> 
> Thanks!!
> 
> moerchendiser2k3

You'll need to use a debugger like gdb that gives you access to the C
stack, I believe.

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
See PyCon Talks from Atlanta 2010  http://pycon.blip.tv/
Holden Web LLC                 http://www.holdenweb.com/
UPCOMING EVENTS:        http://holdenweb.eventbrite.com/




More information about the Python-list mailing list