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

Jason R. Coombs report at bugs.python.org
Sat May 30 23:30:43 CEST 2009


Jason R. Coombs <jaraco at jaraco.com> added the comment:

I checked out the latest code from /branches/release26-maint and
compiled it.  Indeed the problem still exists.

Python 2.6.2+ (release26-maint:73061M, May 30 2009, 16:57:28) [MSC
v.1500 32 bit (Intel)] on win32
>>> import io
>>> io.StringIO('foo\r\nbar\r\n', newline=None).read()
u'foo\n\nbar\n\n'

----------

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


More information about the Python-bugs-list mailing list