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 roger.serwy
Recipients Caio.Romao, Dima.Tisnek, Jonathan.Rogers, eric.araujo, roger.serwy
Date 2012-09-30.22:19:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
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.
History
Date User Action Args
2012-09-30 22:19:55roger.serwysetrecipients: + roger.serwy, eric.araujo, Dima.Tisnek, Caio.Romao, Jonathan.Rogers
2012-09-30 22:19:55roger.serwysetmessageid: <[email protected]>
2012-09-30 22:19:55roger.serwylinkissue12930 messages
2012-09-30 22:19:55roger.serwycreate