Catching all methods before they execute

Michael Hoffman cam.ac.uk at mh391.invalid
Mon Mar 7 13:22:55 EST 2005


jamesthiele.usenet at gmail.com wrote:
> I have run into some cases where I would like to run a class method
> anytime any class method is invoked.

Perhaps you want __getattribute__ on a new-style class?
-- 
Michael Hoffman



More information about the Python-list mailing list