Antoine Pitrou added the comment: Using '\n' as default is normal: StringIOs are not stored on disk so there's no point in converting newlines by default (it's only slower while not improving interoperability). '\n' is the default line separator in Python.
So we should just fix the docs here. The bug when using '\r' or '\r\n' should probably be fixed though (that would be a separate issue). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20423> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com