Re: C-API PyObject_Call



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

.



Relevant Pages

  • Re: GRACE WAS A REALITY ONCE..DONT MISS THIS ONE..!
    ... 400 words on your hope for the Obama presidency, ... aisle who have caved and who say, "Well, I hope he succeeds. ... what is unfair about my saying I hope liberalism fails? ... Liberalism is our problem. ...
    (alt.vacation.las-vegas)
  • Re: Strange fopen error
    ... First time I open the file with fopen, it succeeds. ... file, it fails. ...   if{ ... I guess it's the glfw lib that changes the working directory. ...
    (comp.sys.mac.programmer.help)
  • Re: .Net (C#) Service Fails To Start
    ... Interesting technique - but when my code fails, it does not seem to even get that far, and when it succeeds, I have no need to debug it, and I cannot predict when it will fail. ... I checked and there are no dependencies marked for the service. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: renaming a table
    ... > if it succeeds, truncate all rows in your target rable, copy the inbox rows ... If I do that and the download fails for some reason, ...
    (microsoft.public.sqlserver.ce)
  • Re: Queue cleanup
    ... the first PyTuple_GetItem succeeds and the second one fails. ... means it's prepared for the argument to -not- be an array. ... that arg type is completely out of the C code's control. ...
    (comp.lang.python)