Author evan_
Recipients docs@python, evan_, r.david.murray, vinay.sajip
Date 2016-11-24.07:44:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
(This discussion started on issue28595.)

The new punctuation_chars keyword argument is intended to provide "compatibility with the parsing performed by common Unix shells like bash, dash, and sh", however the documentation and examples do not mention that the user should also set posix=True (which defaults to False for shlex.shlex but True for shlex.split).

Longer term (over several releases), perhaps the default for posix could be changed from False to True. Alternatively, the punctuation_chars argument could also be added to shlex.split, which would avoid having to interact with shlex.shlex directly.
Date User Action Args
2016-11-24 07:44:10evan_setrecipients: + evan_, vinay.sajip, r.david.murray, docs@python
2016-11-24 07:44:10evan_setmessageid: <>
2016-11-24 07:44:10evan_linkissue28784 messages
2016-11-24 07:44:09evan_create