Antoine Pitrou <pit...@free.fr> added the comment: Still happens on latest 2.7:
>>> from cStringIO import StringIO >>> sio = StringIO(u"abc") >>> sio.getvalue() 'a\x00b\x00c\x00' ---------- nosy: +pitrou resolution: fixed -> stage: -> needs patch status: closed -> open versions: +Python 2.7 -Python 2.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1548891> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com