summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-01-11 10:10:57 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-01-11 10:10:57 (GMT)
commit40ce22edb5358cf8642de0faa2c53321dddf5961 (patch)
tree7c46f979ee7ae1e6f03163c05b1ab6016f45f29b /Misc
parent5a4b03dd8207cabbcaccbc9d6a1ee4856dd793f0 (diff)
parent6840a54ad4e3de690b1acd45d4c7a0677fcc213e (diff)
downloadcpython-40ce22edb5358cf8642de0faa2c53321dddf5961.zip
cpython-40ce22edb5358cf8642de0faa2c53321dddf5961.tar.gz
cpython-40ce22edb5358cf8642de0faa2c53321dddf5961.tar.bz2
Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement. pindent.py no longer produces improper indentation. pindent.py now works with continued lines broken after "class" or "def" keywords and with continuations at the start of line. Added regression tests for pindent.py. Modernized pindent.py.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1633879..c324282 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -424,6 +424,8 @@ Library
Tests
-----
+- Issue #15539: Added regression tests for Tools/scripts/pindent.py.
+
- Issue #16925: test_configparser now works with unittest test discovery.
Patch by Zachary Ware.
@@ -571,6 +573,11 @@ Documentation
Tools/Demos
-----------
+- Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py. Now
+ pindent.py works with a "with" statement. pindent.py no longer produces
+ improper indentation. pindent.py now works with continued lines broken after
+ "class" or "def" keywords and with continuations at the start of line.
+
- Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.