[New-bugs-announce] [issue15555] Default newlines of io.TextIOWrapper

Atsuo Ishimoto report at bugs.python.org
Sat Aug 4 17:59:58 CEST 2012


New submission from Atsuo Ishimoto:

In http://docs.python.org/dev/library/io.html:

  "if newline is None, any '\n' characters written are translated to the system default line separator, os.linesep. "

But os.linesep is not referred at all. On Windows default newline is always '\r\n' on Windows, '\n' otherwise.

----------
assignee: docs at python
components: Documentation
messages: 167413
nosy: docs at python, ishimoto
priority: normal
severity: normal
status: open
title: Default newlines of io.TextIOWrapper

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


More information about the New-bugs-announce mailing list