Get frame object of last called function
googler.1.webmaster at spamgourmet.com
Sat Nov 6 14:54:49 CET 2010
Hi, is there any chance to get the frame object of the previous called
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
(0) def Test():
(1) print "OK"
(2) return "Foo"
p = Test()
#get the line number where Test() returned
Any ideas? Thanks a lot!
More information about the Python-list