[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-10 Thread M. Zilmer
M. Zilmer added the comment: Just to make it clear: I have not observed any problems on the Windows terminal (cmd) with \n newline, but at least Notepad does not break lines correctly if only \n is used. -- ___ Python tracker <h

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
M. Zilmer added the comment: Hi Amaury, The two text files were obtained through redirection in Windows, so I simply ran the newline.py file with: ...> C:\Python31\python.exe newline.py > newline_3.1.txt ...> C:\Python32\python.exe newline.py > newline_3.2.txt Best reg

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
Changes by M. Zilmer : Added file: http://bugs.python.org/file23332/newline_3.2.txt ___ Python tracker <http://bugs.python.org/issue13119> ___ ___ Python-bugs-list mailin

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
Changes by M. Zilmer : Added file: http://bugs.python.org/file23331/newline_3.1.txt ___ Python tracker <http://bugs.python.org/issue13119> ___ ___ Python-bugs-list mailin

[issue13119] Newline for print() is \n on Windows, and not \r\n as expected

2011-10-06 Thread M. Zilmer
New submission from M. Zilmer : In 3.2.2 the newline for print() is \n on Windows, and not \r\n as expected. In 3.1.4 the newline is \r\n. OS is Win 7, and tried on both 32 and 64 bit. Small example with output is attached. -- components: Windows files: newline.py messages: 145039