Any tools to print source code call hierarchy

Tom tom at malcolmson.com
Tue Sep 9 00:25:06 EDT 2003


Skip Montanaro <skip at pobox.com> wrote in message news:<mailman.1062967091.26128.python-list at python.org>...
> Scott> I need a tool that will go through a python module (ClientForm in
>     Scott> this case) and allow me to specify a starting module to parse and
>     Scott> tell me what all it uses.
> 
> This is not a trivial exercise to perform with Python because it is
> dynamically typed.  In many cases you don't know the type of an object until
> runtime.
> 
> Skip

I wrote a tool called PySpy (see
http://members.rogers.com/qwavel/pyspy/) that presented call graph
information based on a runtime analysis of Python programs.

Unfortunately, it only works with Python v2.1.  I hope to update it
when I get time.

I don't monitor this ng.

Tom.




More information about the Python-list mailing list