[issue2387] cStringIO and unicode

Antoine Pitrou report at bugs.python.org
Fri Apr 27 13:47:09 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

This was fixed in 2.7.3 actually (27ae7d4e1983):


Python 2.7.3+ (2.7:8b8b580e3fd3, Apr 25 2012, 17:24:51) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from cStringIO import StringIO
>>> StringIO(u'foo').read()
'foo'

----------
nosy: +pitrou
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> shlex (or perhaps cStringIO) and unicode strings

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


More information about the Python-bugs-list mailing list