[New-bugs-announce] [issue10639] reindent.py converts newlines to platform default

Jason R. Coombs report at bugs.python.org
Mon Dec 6 17:36:53 CET 2010


New submission from Jason R. Coombs <jaraco at jaraco.com>:

When reindent.py runs, it will convert the line endings for each file it converts to the default line ending for the platform on which reindent.py runs. It would be better if reindent.py would retain line endings of the source file. Attached is a patch that addresses this issue.

----------
components: Demos and Tools
files: reindent-autonewline.patch
keywords: patch
messages: 123476
nosy: jaraco
priority: normal
severity: normal
status: open
title: reindent.py converts newlines to platform default
versions: Python 3.1, Python 3.2
Added file: http://bugs.python.org/file19955/reindent-autonewline.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10639>
_______________________________________


More information about the New-bugs-announce mailing list