Message295617
Thanks, Vinay. I understand you're busy, and I'm in no particular rush to have this looked at, so feel free to come back to it when you have more time. I've submitted the changes as a PR.
I also have an additional concern - even with this change, there is no way to tell whether a token should be considered special or text:
>>> import shlex
>>> def split(line):
... s = shlex.shlex(line, posix=True, punctuation_chars=True)
... s.whitespace_split = True
... return list(s)
...
>>> split('a&&b')
['a', '&&', 'b']
>>> split('a "&&" b')
['a', '&&', 'b']
I feel this can be addressed after this as a separate issue but wanted to mention it now so you're aware. |
|
Date |
User |
Action |
Args |
2017-06-10 07:00:33 | evan_ | set | recipients:
+ evan_, vinay.sajip, eric.smith, robodan, ned.deily, ezio.melotti, eric.araujo, r.david.murray, cvrebert, python-dev, Andrey.Kislyuk, Gustavo Goretkin |
2017-06-10 07:00:33 | evan_ | set | messageid: <1497078033.35.0.446948444823.issue28595@psf.upfronthosting.co.za> |
2017-06-10 07:00:33 | evan_ | link | issue28595 messages |
2017-06-10 07:00:33 | evan_ | create | |
|