[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 rep...@bugs.python.org http://bugs.python.org/issue6912

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

2009-09-17 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Added in r74865. -- nosy: +georg.brandl resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6912 ___

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

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