[New-bugs-announce] [issue6912] Add 'with' block support to Tools/Scripts/pindent.py
Terry J. Reedy
report at bugs.python.org
Mon Sep 14 19:57:28 CEST 2009
New submission from Terry J. Reedy <tjreedy at udel.edu>:
As reported by Miles Kaufmann on python-list,
Tools/Scripts/pindent.py
has not been updated to support 'with' blocks.
I suspect that it would be sufficient to add ",'with'" to
start = 'if', 'while', 'for', 'try', 'def', 'class'
Since there are no "next['def'/'class']" lines, I suspect none is needed
for 'with' either.
----------
components: Demos and Tools
messages: 92622
nosy: tjreedy
severity: normal
status: open
title: Add 'with' block support to Tools/Scripts/pindent.py
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6912>
_______________________________________
More information about the New-bugs-announce
mailing list