Re: Get frame object of last called function

2010-12-02 Thread Aahz
In article , moerchendiser2k3 wrote: > >Hi, is there any chance to get the frame object of the previous called >function? sys._current_frames(), sys._getframe() -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Think of it as evolution in action." --Tony Rand -

Get frame object of last called function

2010-11-06 Thread moerchendiser2k3
Hi, is there any chance to get the frame object of the previous called function? I just find the 'f_back' frame object but this is the frame object of the parent function, not the previous one. I try to get the line number of the exit point of the previous function. (0) def Test(): (1) print