[issue5265] StringIO can duplicate newlines in universal newlines mode

Alexandre Vassalotti report at bugs.python.org
Tue May 12 22:00:54 CEST 2009


Alexandre Vassalotti <alexandre at peadrop.com> added the comment:

> Should this issue go under a new ticket?

Yes, it would be preferable as the issue is probably not specific to
io.StringIO. Also, make sure that you include the result of this test-case:

open("testnl.txt", "wb").write("foo\r\nbar\r\n")
open("testnl.txt", "rU").read()

----------

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


More information about the Python-bugs-list mailing list