Message111594
| Author |
fperez |
| Recipients |
belopolsky, benjamin.peterson, cgwalters, cvrebert, dexen, eric.araujo, fperez, mark.dickinson, mcepl, nwerneck, r.david.murray, vstinner |
| Date |
2010年07月26日.04:35:40 |
| SpamBayes Score |
2.3696467e-07 |
| Marked as misclassified |
No |
| Message-id |
<1280118948.27.0.388300795057.issue1170@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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']
>>> |
|
History
|
|---|
| 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 |
|