Lunderberg opened a new pull request, #15596:
URL: https://github.com/apache/tvm/pull/15596

   Prior to this commit, if a Python script passes a callback to a C++ 
function, and that callback raises an exception, the original exception cannot 
be caught in the outer python script.  As a result, interactive debugging, such 
as done with `pdb` or `ipdb`, could only inspect stack frames outside the first 
Python to C++ FFI call.
   
   This commit updates the FFI API to propagate the Python exception through an 
FFI boundary.  As a result, all Python frames in the stack trace can be 
inspected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to