Roger Serwy added the comment:

This issue also affects reindent.py in Python 3.x.

The attached patch adds a "-s" switch to reindent.py to disallow changes to the 
contents of strings.

The rstrip_and_expand_tabs function tokenizes the input to identify all strings 
and then expands and rstrips all parts of the input not within a string.

----------
versions: +Python 3.2, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file27366/issue12930.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12930>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to