]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #13930: Adds ability for 2to3 to write its output to a different
authorGregory P. Smith <greg@krypto.org>
Sun, 12 Feb 2012 23:50:21 +0000 (15:50 -0800)
committerGregory P. Smith <greg@krypto.org>
Sun, 12 Feb 2012 23:50:21 +0000 (15:50 -0800)
commit58f23ffb21b0fadb8df91c7c9735401f50b3e844
treeef26a40799350fb1d788a1e05212810a1f5a4c5f
parent51d04d1ba8643d8a0c89d8307bf43697223f31e2
Issue #13930: Adds ability for 2to3 to write its output to a different
directory tree instead of overwriting the input files.  Adds three command
line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix.

Feature backports into stable release branches for 2to3 are allowed by
a special exemption:
 http://mail.python.org/pipermail/python-dev/2011-December/115089.html
Doc/library/2to3.rst
Lib/lib2to3/main.py
Lib/lib2to3/refactor.py
Lib/lib2to3/tests/test_main.py
Lib/lib2to3/tests/test_refactor.py
Misc/NEWS