[Python-3000] Refactoring tool available (work in progress)

Anders J. Munch ajm at flonidan.dk
Fri Dec 15 09:27:42 CET 2006

GvR wrote:
> Finally, I have a dream: a GUI that will let you do this
> interactively, sort of like query-replace in Emacs. But this message
> is already too long, so I'll stop for now. Thanks for reading this
> far. :-)

Sounds like a job for revision control conflict resolution editors.
Generate output that looks like a conflict:

<<<<<<< .python2x
   apply(f, x, y)
   f(*x, **y)
>>>>>>> .python3

Lots of tools will conveniently edit something
like that: KDiff3, TortoiseMerge etc.
For Emacs, there's simple-merge-mode.el.
- Anders

More information about the Python-3000 mailing list