Hi,
here is a very simply plugin that runs 2to3 on the currently open python file and opens a new diff file to show the changes. The original python file is overwritten and a backup is saved as file.py.bak
. Errors from 2to3 are printed to the console. The idea is to make it easier to run 2to3 when adapting ST2 plugins to ST3. Feel free to send pull request for other changes that make the ST2 to ST3 conversion easier.