[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: How override ALL function calls? (Is there a "function call
From:       "Martin_v._Löwis" <martin () v ! loewis ! de>
Date:       2005-07-31 19:10:17
Message-ID: 42ed2219$0$6928$9b622d9e () news ! freenet ! de
[Download RAW message or body]

seberino@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().

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic