From the call hook, how do I know more precisely what is called?
Vijay Kumar
getvijay at gmail.com
Fri May 20 16:21:33 EDT 2005
Hi,
I wrote a trace function using the profiling and tracing hooks
provided by the python interpreter.
The Python interpreter reports the calls occuring in the source
program to my trace function.
How can I know whether the call happened is a function call or method
call and if it is a method call what is its self object and/or class
is?.
I receive a frame object from the interpreter for every call.
Thanks,
Vijay.
More information about the Python-list
mailing list