Python Refactoring Browser

Mathew Yeates mathew at forte.jpl.nasa.gov
Mon Mar 4 22:39:07 EST 2002


I am in desperate need of a refactoring browser for python. I've written a
fairly large program and now am trying to clean it up. I change a member
variable and WHAM I break my code in 95 different locations.

I'm aware of Bicycle Repair Man http://bicyclerepair.sourceforge.net/,
which, when better developed will be exactly what I want. There is also
PyIDEA http://sourceforge.net/projects/pyidea/, but it's just starting up.
And Boa  ( http://boa-constructor.sourceforge.net/ ) doesnt seem designed
for refactoring although I have been using its automatic UML generation to
give me ideas on how to reorganize classes.

When I'm programming in C, I have cscope which I use with a VIM interface.
Its not much but at least I can locate variables easily.

Has anyone else refactored a large Python program? How did you do it?

Mathew



More information about the Python-list mailing list