[issue6912] Add 'with' block support to Tools/Scripts/pindent.py

2012-12-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Actually without "next['with'] = 'end'" "with" support is broken. See issue15539. -- nosy: +serhiy.storchaka ___ Python tracker ___ __

[issue6912] Add 'with' block support to Tools/Scripts/pindent.py

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: Added in r74865. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue6912] Add 'with' block support to Tools/Scripts/pindent.py

2009-09-14 Thread Terry J. Reedy
New submission from Terry J. Reedy : 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