]> 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:51:21 +0000 (15:51 -0800)
committerGregory P. Smith <greg@krypto.org>
Sun, 12 Feb 2012 23:51:21 +0000 (15:51 -0800)
commit12426998cee12903078395cca849564179126be9
treed550929c756d3c83b5b17b215664fa3e405b31ce
parent3c990e02c6f847b64845838bfc2de305c340399e
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