summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-02-12 23:51:21 (GMT)
committerGregory P. Smith <greg@krypto.org>2012-02-12 23:51:21 (GMT)
commit12426998cee12903078395cca849564179126be9 (patch)
treed550929c756d3c83b5b17b215664fa3e405b31ce /Misc
parent3c990e02c6f847b64845838bfc2de305c340399e (diff)
downloadcpython-12426998cee12903078395cca849564179126be9.zip
cpython-12426998cee12903078395cca849564179126be9.tar.gz
cpython-12426998cee12903078395cca849564179126be9.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/NEWS8
1 files changed, 5 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 00eac65..3318913 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -489,12 +489,14 @@ 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 #10639: reindent.py no longer converts newlines and will raise
an error if attempting to convert a file with mixed newlines.
-Tools/Demos
------------
-
- Issue #13628: python-gdb.py is now able to retrieve more frames in the Python
traceback if Python is optimized.