Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

0 views
Skip to first unread message

Vijay Kumar

unread,
May 20, 2005, 4:21:33 PM5/20/05
to pytho...@python.org, vsur...@cs.nmsu.edu
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.

0 new messages