Message111594
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']
>>> |
|
Date |
User |
Action |
Args |
2010-07-26 04:35:49 | fperez | set | recipients:
+ fperez, mark.dickinson, belopolsky, vstinner, dexen, benjamin.peterson, cgwalters, mcepl, eric.araujo, r.david.murray, nwerneck, cvrebert |
2010-07-26 04:35:48 | fperez | set | messageid: <1280118948.27.0.388300795057.issue1170@psf.upfronthosting.co.za> |
2010-07-26 04:35:46 | fperez | link | issue1170 messages |
2010-07-26 04:35:41 | fperez | create | |
|