This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients terry.reedy
Date 2009-09-14.17:57:26
SpamBayes Score 0.01814811
Marked as misclassified No
Message-id <1252951048.2.0.53684997295.issue6912@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-09-14 17:57:28terry.reedysetrecipients: + terry.reedy
2009-09-14 17:57:28terry.reedysetmessageid: <1252951048.2.0.53684997295.issue6912@psf.upfronthosting.co.za>
2009-09-14 17:57:26terry.reedylinkissue6912 messages
2009-09-14 17:57:26terry.reedycreate