tracebacks - How to add frames??

Randall Hopper aa8vb at yahoo.com
Tue Mar 28 15:41:45 CEST 2000


     Is it possible to add frames to the current traceback object from
inside a C extension?



     I have Python calling C making callbacks to Python, and I'm missing
the middle layer in tracebacks.

Tim Peters summarizes it nicely:

   | If A calls B tails calls C tail calls D blows up, I damn sure don't
   | want a traceback claiming that A called D directly.  I want to get a
   | traceback object with the full chain intact

Thanks,

-- 
Randall Hopper
aa8vb at yahoo.com




More information about the Python-list mailing list