In this PR, I've used the 2to3 script to translate the wmt-exe code to Python 3, while attempting to maintain backward compatibility with Python 2.7. I ran the 2to3 filters singly or in small groups and performed spot checks to make sure that the changes didn't bork the code.
With these changes, wmt-exe can be installed into a Python 3.6 distribution.
In this PR, I've used the
2to3
script to translate the wmt-exe code to Python 3, while attempting to maintain backward compatibility with Python 2.7. I ran the2to3
filters singly or in small groups and performed spot checks to make sure that the changes didn't bork the code.With these changes, wmt-exe can be installed into a Python 3.6 distribution.