[issue20424] _pyio.StringIO doesn't work with lone surrogates

STINNER Victor report at bugs.python.org
Tue Jan 28 22:31:31 CET 2014


STINNER Victor added the comment:

I agree that StringIO should accept lone surrogates as str += str accept them.

The patch looks good, but please mention the issue number in the unit test. And add an empty line between the two parts of the test (reader, writer).

----------

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


More information about the Python-bugs-list mailing list