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: CRLF issues
Type: Stage:
Components: Build Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: RusiMody, eric.smith, zach.ware
Priority: normal Keywords:

Created on 2015-06-25 03:26 by RusiMody, last changed 2022-04-11 14:58 by admin.

Messages (3)
msg245793 - (view) Author: Rusi (RusiMody) Date: 2015-06-25 03:26
While trying to freshly setup a CPython repo, encountered the following
CRLF issues:

Mixed file -- both LF and CRLF (line 29 LF rest CRLF)
Lib/venv/scripts/nt/Activate.ps1

Lib/test/decimaltestdata is a directory with mixed up files -- ie some CRLF some LF files

PCbuild/readme.txt: CRLF (explicit)
This is fine. Many of the following should (ideally/IMHO) be likewise CRLF (not BIN)

*.sln: CRLF but marked as BIN in hgeol

PC/example_nt/example.vcproj
Emacs shows as Dos file; But not picked up by file; maybe other such

Missing BIN pattern from .hgeol
*.pdf
Note that Doc/library/turtle-star.pdf exists
This is most likely a bug

Existent file-types with non-existent files in hgeol; Probably harmless
*.vsprops
*.mk
*.dsp
*.dsw

These seem straightforward CRLF files to me; why BIN in hgeol?
Lib/test/test_email/data/msg_26.txt
Lib/test/coding20731.py
msg245820 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2015-06-25 17:27
At least for the files in decimaltestdata, I'd be wary about changing them. My understanding is that these files are from the IBM decimal test library. I don't think we should stray from upstream here, even for something as simple as line endings.

Unfortunately, the link http://www2.hursley.ibm.com/decimal from the file headers is no longer valid.
msg245824 - (view) Author: Rusi (RusiMody) Date: 2015-06-25 18:00
The newest (at least newer) version seems to be http://speleotrove.com/decimal/
Top of page says:
Welcome to the General Decimal Arithmetic website, which is now hosted
at speleotrove.com. The page and file names here have not been changed
from the names used on the previous website, www2.hursley.ibm.com.

File to download is dectest.zip
All files are now CRLF
More significantly the versions are bumped up from 2.59 in the python
repo to 2.62 at this link
Needless to say there are much larger differences between these than
just CRLF :-)

On Thu, Jun 25, 2015 at 10:57 PM, Eric V. Smith <report@bugs.python.org> wrote:
>
> Eric V. Smith added the comment:
>
> At least for the files in decimaltestdata, I'd be wary about changing them. My understanding is that these files are from the IBM decimal test library. I don't think we should stray from upstream here, even for something as simple as line endings.
>
> Unfortunately, the link http://www2.hursley.ibm.com/decimal from the file headers is no longer valid.

The newest (at least newer) version seems to be http://speleotrove.com/decimal/
Top of page says:
Welcome to the General Decimal Arithmetic website, which is now hosted
at speleotrove.com. The page and file names here have not been changed
from the names used on the previous website, www2.hursley.ibm.com.

File to download is dectest.zip
All files are now CRLF
More significantly the versions are bumped up from 2.59 in the python
repo to 2.62 at this link
Needless to say there are much larger differences between these
versions than just CRLF :-)
History
Date User Action Args
2022-04-11 14:58:18adminsetgithub: 68695
2015-06-25 18:00:51RusiModysetmessages: + msg245824
2015-06-25 17:27:47eric.smithsetnosy: + eric.smith
messages: + msg245820
2015-06-25 03:26:22RusiModycreate