This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author evan_
Recipients Andrey.Kislyuk, Gustavo Goretkin, cvrebert, eric.araujo, eric.smith, evan_, ezio.melotti, ned.deily, python-dev, r.david.murray, robodan, vinay.sajip
Date 2017-06-10.07:00:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497078033.35.0.446948444823.issue28595@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-06-10 07:00:33evan_setrecipients: + 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:33evan_setmessageid: <1497078033.35.0.446948444823.issue28595@psf.upfronthosting.co.za>
2017-06-10 07:00:33evan_linkissue28595 messages
2017-06-10 07:00:33evan_create