Modifying "traceback" objects

Randall Hopper aa8vb at yahoo.com
Thu Apr 6 07:51:24 EDT 2000


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



     I have Python calling C, which makes callbacks to Python, and I'm
missing the middle C layers in my 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