On 2008-10-26 13:54, Martin Vilcans wrote:
Hi list,
I'm wondering if there's a tool that can analyze a Python program
while it runs, and generate a database with the types of arguments and
return values for each function. In a way it is like a profiler, that
instead of measuring how often
(Sorry for any repeated recommendations. I'm offline until Monday morning.
You may well see some of these suggestions in the meanwhile, but so far it
seems you've had no nibbles.)
Martin I'm wondering if there's a tool that can analyze a Python
Martin program while it runs, and generate
I think that rope has something like that; not really sure though.
On Mon, Oct 27, 2008 at 1:41 AM, [EMAIL PROTECTED] wrote:
(Sorry for any repeated recommendations. I'm offline until Monday morning.
You may well see some of these suggestions in the meanwhile, but so far it
seems you've had
Thanks everyone for the suggestions. I've implemented a simple
solution using sys.settrace. It's quite nice because it doesn't
require any instrumentation of the code (it works like a debugger that
traps all function calls).
Here's the output I get right now when profiling Skip's example code
Hi list,
I'm wondering if there's a tool that can analyze a Python program
while it runs, and generate a database with the types of arguments and
return values for each function. In a way it is like a profiler, that
instead of measuring how often functions are called and how long time
it takes,
Martin Vilcans wrote:
Hi list,
I'm wondering if there's a tool that can analyze a Python program
while it runs, and generate a database with the types of arguments and
return values for each function. In a way it is like a profiler, that
instead of measuring how often functions are called and