How override ALL function calls? (Is there a "function call function"?)
"Martin v. Löwis"
martin at v.loewis.de
Sun Jul 31 15:10:17 EDT 2005
seberino at spawar.navy.mil wrote:
> I'm trying run a homegrown profiler on some Python code.
> Rather than apply profiler wrapper to ALL functions by hand....
> Is there a low level Python function I can override to modify
> how ALL functions are called?
Yes, please take a look at sys.setprofile().
More information about the Python-list