[issue6988] shlex.split() converts unicode input to UCS-4 output

Éric Araujo report at bugs.python.org
Sun Oct 23 01:12:12 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

$ ./python 
Python 2.7.2+ (2.7:27ae7d4e1983+, Oct 23 2011, 00:09:06) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import shlex
>>> shlex.split(u'Hello, World!')
['Hello,', 'World!']

This was fixed indirectly by a StringIO fix in 27ae7d4e1983, for #1548891.

----------
nosy: +eric.araujo

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


More information about the Python-bugs-list mailing list