Antoine Pitrou <pit...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue2387> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com