Vladimir Ignatov wrote: >> can you sketch an example/use case more concretely? > > Sorry, I don't have anything written down. I just have some rough idea > of implementation and some concrete features I would like to see in > such system. For example: > > 1) Instant refactoring. No more needs for manual > search/inspect/rename. Since system knows exactly that is going on, > the refactoring will be fully automatic.
You'll probably want to take a look at "Bicycle Repair Man", which offers Python refactoring functionality. > 2) Show "xref table" for each function. How often this function used? > Where is it used? (code snippets of calls) What functionality is > supported by this function? Bear in mind this information can only ever be partial, since functions are first-class objects and aren't always referred to by their original name. > 3) Extended statistics. How many objects this object/function > interacts with? Popular functions, dead/unused functions. > 4) Code smell detector - too long functions, too much interaction with > other objects, global objects, etc. > ... > Also take a look at pylint and pychecker, which are already built to perform that kind of check on Python code. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/ Holden Web LLC http://www.holdenweb.com/ UPCOMING EVENTS: http://holdenweb.eventbrite.com/ -- http://mail.python.org/mailman/listinfo/python-list