diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-11 10:04:23 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-11 10:04:23 (GMT) |
commit | 6840a54ad4e3de690b1acd45d4c7a0677fcc213e (patch) | |
tree | 8b8a1d1959ce2615d5621beb4c95aec09e256cb2 /Misc | |
parent | 405079213b7b35145ec5a437cd8b99528c3e4841 (diff) | |
download | cpython-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/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |