Extracting namespace of innermost frame in traceback

Kevin Smith Kevin.Smith at sas.com
Wed Jan 9 11:38:20 EST 2002


Is it possible to extract the global namespace of the inner-most frame of a 
traceback stack?  I see that sys.exc_info()[2].tb_frame.f_globals gives the 
globals of the outer-most frame.  Is there something similar for the 
inner-most?

Kevin Smith
Kevin.Smith at sas.com



More information about the Python-list mailing list