Message284480
When both punctuation_chars and posix are used, any punctuation directly next to quoted characters is interpreted as a single token.
>>> from shlex import shlex
>>> list(shlex('>"a"', posix=True))
['>', 'a']
>>> list(shlex('>"a"', punctuation_chars=True))
['>', '"a"']
>>> list(shlex('>"a"', posix=True, punctuation_chars=True))
['>a'] # should be ['>', 'a'] |
|
Date |
User |
Action |
Args |
2017-01-02 12:56:23 | evan_ | set | recipients:
+ evan_, vinay.sajip, r.david.murray |
2017-01-02 12:56:23 | evan_ | set | messageid: <1483361783.89.0.00336686739256.issue29132@psf.upfronthosting.co.za> |
2017-01-02 12:56:23 | evan_ | link | issue29132 messages |
2017-01-02 12:56:23 | evan_ | create | |
|