[issue1029] py3k: io.StringIO.getvalue() returns \r\n
Amaury Forgeot d'Arc
report at bugs.python.org
Mon Aug 27 01:35:10 CEST 2007
Amaury Forgeot d'Arc added the comment:
> As far as I know, StringIO should not do any string transformations.
(Not sure if you agree with the patch or not)
That's why the current behaviour is not correct: When I write('\n'),
getvalue() currently returns '\r\n'.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1029>
__________________________________
More information about the Python-bugs-list
mailing list