469,929 Members | 1,883 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,929 developers. It's quick & easy.

From the call hook, how do I know more precisely what is called?

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.
Jul 19 '05 #1
0 901

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Abhishek | last post: by
33 posts views Thread by JamesB | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.