This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Aaron Ang
Recipients Aaron Ang, benjamin.peterson, bialix, eric.araujo, jaraco
Date 2018-04-15.07:01:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I couldn't reproduce this issue. I tried reproducing this problem by extending the TestRefactoringTool class and creating two files: one file with LF line-endings and one file with CRLF line-endings.

The changes that I made can be found here:

The output of the tests:

Before: b'print("hi")\n\nprint("Like bad Windows newlines?")\n'
After:  b'print("hi")\n\nprint("Like bad Windows newlines?")\n'

Before: b'print("hi")\r\n\r\nprint("Like bad Windows newlines?")\r\n'
After:  b'print("hi")\r\n\r\nprint("Like bad Windows newlines?")\r\n'

Maybe this problem has been resolved?
Date User Action Args
2018-04-15 07:01:12Aaron Angsetrecipients: + Aaron Ang, jaraco, bialix, benjamin.peterson, eric.araujo
2018-04-15 07:01:12Aaron Angsetmessageid: <>
2018-04-15 07:01:12Aaron Anglinkissue11594 messages
2018-04-15 07:01:11Aaron Angcreate