[issue1548891] shlex (or perhaps cStringIO) and unicode strings

Antoine Pitrou report at bugs.python.org
Fri Oct 21 22:12:20 CEST 2011


Antoine Pitrou <pitrou at 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 <report at bugs.python.org>
<http://bugs.python.org/issue1548891>
_______________________________________


More information about the Python-bugs-list mailing list