Jason R. Coombs <jar...@jaraco.com> added the comment:

That's great that reindent works in your environment, but that's no help in my 
environment.

Here's the use case: We have a software package developed in Unix and with Unix 
LF line endings. The code base may also contain files with CRLF line endings (I 
can't be certain).

I'm developing in Windows (which includes reindent.py installed by default). 
I'd like to use that tool to reindent the code base without munging the line 
endings. I can't do this without first modifying reindent.py or using another 
tool to convert the line endings afterword (at which point I don't know if the 
Windows line endings were created by reindent.py or were there natively).

If someone wants the line endings normalized on their code base, they should 
use another tool (or possibly an option to reindent.py), but there's definitely 
a case for using reindent.py without altering the line endings.

----------

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

Reply via email to