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

M. Zilmer report at bugs.python.org
Thu Oct 6 22:59:48 CEST 2011


New submission from M. Zilmer <mzdkmail at gmail.com>:

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
nosy: M..Z.
priority: normal
severity: normal
status: open
title: Newline for print() is \n on Windows, and not \r\n as expected
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file23330/newline.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13119>
_______________________________________


More information about the Python-bugs-list mailing list