[issue13119] Newline for print() is \n on Windows, and not \r\n as expected
Atsuo Ishimoto
report at bugs.python.org
Thu Aug 2 07:20:09 CEST 2012
Atsuo Ishimoto added the comment:
Test for this issue. Tested on Windows7, Ubuntu linux 12.04.
I wonder why "print(1, file=sys.stderr)" returns '1' instead of '1\n'.
But in Python2.7, "print >>sys.stderr, 1" also returns '1',
so this might not be a problem.
----------
Added file: http://bugs.python.org/file26660/issue13119_test.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13119>
_______________________________________
More information about the Python-bugs-list
mailing list