]> granicus.if.org Git - python/commit
bpo-34108: Fix double carriage return in 2to3 on Windows (#8271)
authorJason R. Coombs <jaraco@jaraco.com>
Fri, 13 Jul 2018 15:26:03 +0000 (11:26 -0400)
committerGitHub <noreply@github.com>
Fri, 13 Jul 2018 15:26:03 +0000 (11:26 -0400)
commitcafaf0447b950fd4f59edd8cbde040c61ae528f8
tree16bc635ab64861d1714134a6dafa810fb2b9b45a
parent379e9d639a52766f79c7a206c5096c8333d1896f
bpo-34108: Fix double carriage return in 2to3 on Windows (#8271)

* Add test capturing failure.
* Honor newlines as present in the original file.
Lib/lib2to3/refactor.py
Lib/lib2to3/tests/test_refactor.py
Misc/NEWS.d/next/Library/2018-07-13-08-44-52.bpo-34108.RjobUC.rst [new file with mode: 0644]