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 jaraco
Recipients Aaron Ang, benjamin.peterson, bialix, eric.araujo, jaraco
Date 2018-04-15.13:01:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523797307.79.0.682650639539.issue11594@psf.upfronthosting.co.za>
In-reply-to
Content
I do still see the issue on Python 3.7b3:

$ python ~/Dropbox/bin/scripts/which-line-ending onefile.py
Line ending is '\n'
$ python ~/Dropbox/bin/scripts/which-line-ending otherfile.py
Line ending is '\r\n'
$ python -V
Python 3.7.0b3
$ python -m lib2to3 . -w
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored ./onefile.py
--- ./onefile.py        (original)
+++ ./onefile.py        (refactored)
@@ -1 +1 @@
-print 'hello world'
+print('hello world')
RefactoringTool: Refactored ./otherfile.py
--- ./otherfile.py      (original)
+++ ./otherfile.py      (refactored)
@@ -1 +1 @@
-print 'hello world'
+print('hello world')
RefactoringTool: Files that were modified:
RefactoringTool: ./onefile.py
RefactoringTool: ./otherfile.py
$ $ python ~/Dropbox/bin/scripts/which-line-ending onefile.py
Line ending is '\n'
$ python ~/Dropbox/bin/scripts/which-line-ending otherfile.py
Line ending is '\n'
History
Date User Action Args
2018-04-15 13:01:47jaracosetrecipients: + jaraco, bialix, benjamin.peterson, eric.araujo, Aaron Ang
2018-04-15 13:01:47jaracosetmessageid: <1523797307.79.0.682650639539.issue11594@psf.upfronthosting.co.za>
2018-04-15 13:01:47jaracolinkissue11594 messages
2018-04-15 13:01:47jaracocreate