Antoine Pitrou added the comment:

> Current results for newline != '\n' looks meanless to me.

They don't look meaningless to me, e.g.:

>>> io.StringIO("a\r\nc\rd", newline=None).getvalue()
'a\nc\nd'
>>> sio = io.StringIO(newline=None); sio.write("a\r\nc\rd"); sio.getvalue()
6
'a\nc\nd'

There may be other cases where they make less sense, but that's a separate 
issue.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20435>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to