Message171678
| 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 |
<1349043595.76.0.840804471196.issue12930@psf.upfronthosting.co.za> |
| 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. |
|