Invoker of a method

Andre Meyer meyer at acm.org
Sun Oct 24 04:21:53 EDT 2004


Hi Pythoneers

In an application I am developing I want to register the invoker of a 
method call. Is there any way to find out who is invoking an object's 
method? I do not want to rely on the caller telling the callee his name 
explicitly.

thanks
Andre

-- 
Dr. Andre P. Meyer                        http://home.hccnet.nl/a.meyer/
TNO FEL Command & Control and Simulation, http://www.fel.tno.nl/div2/
Delft Cooperation on Intelligent Systems, http://www.decis.nl/



More information about the Python-list mailing list