What function called this function ??

Thomas Weholt 2002 at weholt.org
Wed Sep 25 09:47:49 EDT 2002

Is it possible, by hacking the traceback/stack/etc, to get information about
the function, that functions class and in what module that function and
class are defined, from inside a function located elsewhere? Something like
a way of answering the question of  "who called me?" without sending the
answer along as a parameter.

Best regards,

More information about the Python-list mailing list