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

Jason Orendorff jason.orendorff at gmail.com
Fri Dec 15 18:10:34 CET 2006

On 12/15/06, Anders J. Munch <ajm at flonidan.dk> wrote:
> 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

Excellent idea!

This leads to a funny conclusion, actually.  These days I have source
control everywhere.  I review most changes in an edit-capable differ
before checking in.  So my diff tools are already all set up for
reviewing changes (and making further changes during a review, like
adding comments).

So get this:  Guido's dream is already implemented on my system!  Give
me the "--destructively-modify-in-place" option and I'll be all set.


More information about the Python-3000 mailing list