diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-02-12 23:50:21 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-02-12 23:50:21 (GMT) |
commit | 58f23ffb21b0fadb8df91c7c9735401f50b3e844 (patch) | |
tree | ef26a40799350fb1d788a1e05212810a1f5a4c5f /Misc | |
parent | 51d04d1ba8643d8a0c89d8307bf43697223f31e2 (diff) | |
download | cpython-58f23ffb21b0fadb8df91c7c9735401f50b3e844.zip cpython-58f23ffb21b0fadb8df91c7c9735401f50b3e844.tar.gz cpython-58f23ffb21b0fadb8df91c7c9735401f50b3e844.tar.bz2 |
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
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -443,6 +443,11 @@ Build Tools/Demos ----------- +- Issue #13930: 2to3 is now able to write its converted output files to another + directory tree as well as copying unchanged files and altering the file + suffix. See its new -o, -W and --add-suffix options. This makes it more + useful in many automated code translation workflows. + - Issue #13628: python-gdb.py is now able to retrieve more frames in the Python traceback if Python is optimized. |