summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-01-11 10:04:23 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-01-11 10:04:23 (GMT)
commit6840a54ad4e3de690b1acd45d4c7a0677fcc213e (patch)
tree8b8a1d1959ce2615d5621beb4c95aec09e256cb2 /Misc
parent405079213b7b35145ec5a437cd8b99528c3e4841 (diff)
downloadcpython-6840a54ad4e3de690b1acd45d4c7a0677fcc213e.zip
cpython-6840a54ad4e3de690b1acd45d4c7a0677fcc213e.tar.gz
cpython-6840a54ad4e3de690b1acd45d4c7a0677fcc213e.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 91706c1..26ec822 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -770,6 +770,8 @@ Extension Modules
Tests
-----
+- Issue #15539: Added regression tests for Tools/scripts/pindent.py.
+
- Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize
options.
@@ -951,6 +953,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.
- Issue #14695: Fix missing support for starred assignments in