[issue6127] Unexpected universal newline behavior (newline duplication) in Windows

Terry J. Reedy report at bugs.python.org
Fri May 29 22:06:44 CEST 2009


Terry J. Reedy <tjreedy at udel.edu> added the comment:

FWIW, WindowsXP, Py3.1b1, May 7

>>> io.StringIO('foo\r\nbar\r\n', newline=None).read()
'foo\nbar\n'

I believe there were changes to io after April 14 for May 7 release, so
this may be fixed in 2.6.3 branch already.

----------
nosy: +tjreedy

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


More information about the Python-bugs-list mailing list