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 evan_, r.david.murray, vinay.sajip
Date 2017-01-02.12:56:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483361783.89.0.00336686739256.issue29132@psf.upfronthosting.co.za>
In-reply-to
Content
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']
History
Date User Action Args
2017-01-02 12:56:23evan_setrecipients: + evan_, vinay.sajip, r.david.murray
2017-01-02 12:56:23evan_setmessageid: <1483361783.89.0.00336686739256.issue29132@psf.upfronthosting.co.za>
2017-01-02 12:56:23evan_linkissue29132 messages
2017-01-02 12:56:23evan_create