[issue1029] py3k: io.StringIO.getvalue() returns \r\n

Guido van Rossum report at bugs.python.org
Wed Aug 29 20:32:14 CEST 2007


Guido van Rossum added the comment:

I'ev fixed this slightly differently, by simply changing the *default*
of the newline argument to StringIO to be "\n".  This is a good default;
but I see no reason to prevent users from messing with it if they have a
need.

----------
nosy: +gvanrossum
resolution:  -> fixed
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1029>
__________________________________


More information about the Python-bugs-list mailing list