who is my caller?

Emile van Sebille emile at fenx.com
Tue Mar 27 09:00:41 EST 2001


Take a look at trace.extract_stack

--

Emile van Sebille
emile at fenx.com

---------
"Clark C. Evans" <cce at clarkevans.com> wrote in message
news:mailman.985700854.31956.python-list at python.org...
> In many mud languages, you can query the
> call-stack to find out who called you.
> Is there a stack of function objects
> that can be obtained somehow?  Is this
> non-portable black magic?
>
> I'm asking beacuse this technique is
> often useful for implementing security
> (ok, not very good security)
>
> Thanks!
>
> Clark
>
>





More information about the Python-list mailing list