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.

classification
Title: 3.5.0 installed standard library on Windows has LF line endings
Type: Stage:
Components: Installation, Windows Versions: Python 3.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: steve.dower Nosy List: BreamoreBoy, larry, paul.moore, r.david.murray, steve.dower, terry.reedy, tim.golden, vstinner, zach.ware
Priority: normal Keywords:

Created on 2015-09-14 05:33 by zach.ware, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (9)
msg250629 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2015-09-14 05:33
It would be nice to install the standard library (and test suite) with CRLF line endings, to allow for reading/editing with Notepad.  Horrible though it is, it's at least always available :)

Steve, this may just be an issue of how your repository is checked out; I assume if your working directory has LF line endings, that will propagate to the installer/installed files?  The hg 'eol' extension takes care of making everything CRLF on Windows, but only if it's enabled before the working directory is created (you can force an EOL update by doing `hg up null && hg up 3.5` with 'eol' enabled).
msg250665 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-09-14 13:44
I'm pretty sure the hg eol extension would need to get involved here.  This may not be worth the pain it would likely cause, but I could be wrong :)
msg250743 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2015-09-15 08:47
> It would be nice to install the standard library (and test suite) with CRLF line endings, to allow for reading/editing with Notepad.

Oh maybe Windows can realized in 2015 that other operating systems use different line ending and enhance notepad to be more "portable"? :-p
msg250744 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2015-09-15 08:48
Is this a change (I hesitate to use the word "regression") as of Python 3.5.0?
msg250779 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2015-09-15 16:03
Victor: that would be ideal, but hoping for that seems an exercise in futility :)

Larry: It seems to be; the test case that brought it my attention (Lib\test\test_tcl.py) has CRLF in my 3.4.3 install and LF in 3.5.0.
msg250780 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2015-09-15 16:13
Well, even if the Windows build was on fire and children were dying, we couldn't do anything about it until next week--Steve's on vacation.  I expect he'll weigh in on this when he gets back.
msg251024 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2015-09-18 20:37
AFAIK, Wordpad is also always available (has been at least up to Win 7), and it works with \n file and font resizing is obvious, but it is paper-oriented and for me, defaults to 8-1/2 x 11 with 1-1/4 side margins, leaving 6", too small for 80 char lines.  The 'ruler' does not work to change page margins or spacing of existing text. One has to discover to go to <File Symbol> / PageSetup to display as one needs to.  On the other hand, Notepad uses the full width of the window, as sized. So I have to reluctantly call this a regression.
msg251030 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2015-09-18 21:43
Windows 10 has Wordpad, I've never liked 'nice', as far as I'm concerned it's completely meaningless, and right now we've more important things to think about on Windows.  Hence all in all to me this is a nothing issue.
msg251355 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2015-09-22 22:12
Yeah, this was just me forgetting to enable eol when I last recreated my build machine. It's on now, so the next release will be fine.
History
Date User Action Args
2022-04-11 14:58:20adminsetgithub: 69290
2015-09-22 22:12:26steve.dowersetstatus: open -> closed
resolution: not a bug
messages: + msg251355
2015-09-18 21:43:38BreamoreBoysetnosy: + BreamoreBoy
messages: + msg251030
2015-09-18 20:37:49terry.reedysetnosy: + terry.reedy
messages: + msg251024
2015-09-15 16:13:09larrysetmessages: + msg250780
2015-09-15 16:03:42zach.waresetmessages: + msg250779
2015-09-15 08:48:21larrysetnosy: + larry
messages: + msg250744
2015-09-15 08:47:30vstinnersetnosy: + vstinner
messages: + msg250743
2015-09-14 13:44:11r.david.murraysetnosy: + r.david.murray
messages: + msg250665
2015-09-14 05:33:44zach.warecreate