Skip to content

3.5.0 installed standard library on Windows has LF line endings #69290

Closed

Description

@zware
BPO 25103
Nosy @terryjreedy, @pfmoore, @vstinner, @larryhastings, @tjguk, @bitdancer, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/zooba'
closed_at = <Date 2015-09-22.22:12:26.254>
created_at = <Date 2015-09-14.05:33:44.389>
labels = ['invalid', 'expert-installation', 'OS-windows']
title = '3.5.0 installed standard library on Windows has LF line endings'
updated_at = <Date 2015-09-22.22:12:26.252>
user = 'https://github.com/zware'

bugs.python.org fields:

activity = <Date 2015-09-22.22:12:26.252>
actor = 'steve.dower'
assignee = 'steve.dower'
closed = True
closed_date = <Date 2015-09-22.22:12:26.254>
closer = 'steve.dower'
components = ['Installation', 'Windows']
creation = <Date 2015-09-14.05:33:44.389>
creator = 'zach.ware'
dependencies = []
files = []
hgrepos = []
issue_num = 25103
keywords = []
message_count = 9.0
messages = ['250629', '250665', '250743', '250744', '250779', '250780', '251024', '251030', '251355']
nosy_count = 9.0
nosy_names = ['terry.reedy', 'paul.moore', 'vstinner', 'larry', 'tim.golden', 'r.david.murray', 'BreamoreBoy', 'zach.ware', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue25103'
versions = ['Python 3.5']

Activity

  1. zware commented on Sep 14, 2015

    @zware
    MemberAuthor

    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).

  2. bitdancer commented on Sep 14, 2015

    @bitdancer
    Member

    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 :)

  3. vstinner commented on Sep 15, 2015

    @vstinner
    Member

    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

  4. larryhastings commented on Sep 15, 2015

    @larryhastings
    Contributor

    Is this a change (I hesitate to use the word "regression") as of Python 3.5.0?

  5. zware commented on Sep 15, 2015

    @zware
    MemberAuthor

    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.

  6. larryhastings commented on Sep 15, 2015

    @larryhastings
    Contributor

    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.

  7. terryjreedy commented on Sep 18, 2015

    @terryjreedy
    Member

    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.

  8. BreamoreBoy commented on Sep 18, 2015

    BreamoreBoymannequin
    Mannequin

    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.

  9. zooba commented on Sep 22, 2015

    @zooba
    Member

    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.

  10. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions