how to get a function object from a frame object

V

Vijay Kumar

I have written a trace function and it recieves the current frame
object from the interpreter.

I want to know whether the event pertains to a class or method or function.

I can only get a code object from this frame object but not a function
object or class object.

Please post if any body have ideas.

Vijay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,239
Messages
2,571,200
Members
47,838
Latest member
elibuskamoSeAve

Latest Threads

Top