471,330 Members | 1,639 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Consistent mapping from frame to function

Is there a consistent way to map a frame object to a function / method
object? Methods usually hang off of parameter 1, and functions
usually in the global or local scope. But lambda functions and
decorators are not so easily mapped. You can get access to the
executing code object from the frame, but I don't see a consistent way
to map it to the function. Any suggestion?

Oct 27 '07 #1
0 952

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by naruto | last post: by
2 posts views Thread by RWD | last post: by
5 posts views Thread by Frame | last post: by
3 posts views Thread by Datta Patil | last post: by
reply views Thread by birdinhand | last post: by
reply views Thread by rosydwin | 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.