[issue12930] reindent.py inserts spaces in multiline literals

2011-12-31 Thread Jonathan Rogers
Jonathan Rogers jonathanrrog...@gmail.com added the comment: I don't think reindent.py should change any bytes inside string literals since it can't know anything about what those strings mean or how they'll be used by the program at run time. Unfortunately, it starts out by unconditionally

[issue12930] reindent.py inserts spaces in multiline literals

2011-12-31 Thread Jonathan Rogers
Jonathan Rogers jonathanrrog...@gmail.com added the comment: Rather than expanding tab characters inside string literals, it's safer to replace them with '\t'. -- Added file: http://bugs.python.org/file24120/save_strings.patch ___ Python tracker rep