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 Matthew Gamble
Recipients Matthew Gamble
Date 2019-05-13.00:59:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557709191.27.0.852663831837.issue36897@roundup.psfhosted.org>
In-reply-to
Content
The output of the following invocations are exactly the same:

list(shlex.shlex('a ; b', posix=True, punctuation_chars=True))

list(shlex.shlex('a \; b', posix=True, punctuation_chars=True))

They both output the following:

['a', ';', 'b']

This makes it impossible to determine when the user wanted to escape the semi-colon for some reason, such as if they were using find's `-exec` argument.
History
Date User Action Args
2019-05-13 00:59:51Matthew Gamblesetrecipients: + Matthew Gamble
2019-05-13 00:59:51Matthew Gamblesetmessageid: <1557709191.27.0.852663831837.issue36897@roundup.psfhosted.org>
2019-05-13 00:59:51Matthew Gamblelinkissue36897 messages
2019-05-13 00:59:51Matthew Gamblecreate