Fernando Perez <fdo.pe...@gmail.com> added the comment: Here is an illustration of the problem with a simple test case (the value of the posix flag doesn't make any difference):
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import shlex >>> list(shlex.shlex('ab')) ['ab'] >>> list(shlex.shlex(u'ab', posix=True)) ['a', '\x00', '\x00', '\x00', 'b', '\x00', '\x00', '\x00'] >>> list(shlex.shlex(u'ab', posix=False)) ['a', '\x00', '\x00', '\x00', 'b', '\x00', '\x00', '\x00'] >>> ---------- nosy: +fperez _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1170> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com