[issue12930] reindent.py inserts spaces in multiline literals

Roger Serwy report at bugs.python.org
Mon Oct 1 02:57:27 CEST 2012


Roger Serwy added the comment:

>
> Definitely a bugfix should not add any new switches. Patch would simply lead to preserving of all string literals and nothing more.
I added the switch so that the existing behavior of reindent would stay 
the same in case some other scripts rely on that behavior. If you'd 
rather not include the switch, then I'm ok with removing it.

The patch causes reindent to no longer removes trailing whitespace on 
multi-line doc strings. Is that side-effect acceptable?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12930>
_______________________________________


More information about the Python-bugs-list mailing list