472,111 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,111 software developers and data experts.

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 922

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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.