New submission from Alexander Belchenko <bia...@ukr.net>: I'm using LF-only line-endings for development of my IntelHex library. I'm working on Windows most of the time.
After 2to3 tool has been ran on my library it has not only changed the Python syntax, but it also saved all files with CRLF line-endings. As result I have all changed files completelly modified and diff shows change in every line. 2to3 tool should respect my line-endings and must not use simple open(xxx, "wt") mode for writing modified files. ---------- components: 2to3 (2.x to 3.0 conversion tool) messages: 131335 nosy: bialix priority: normal severity: normal status: open title: 2to3 tool does not preserve line-endings type: behavior versions: Python 2.7, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11594> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com