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, eric.smith
Date 2019-05-14.01:12:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557796321.95.0.0316830197897.issue36897@roundup.psfhosted.org>
In-reply-to
Content
My apologies, I didn't realise you were talking about the invalid escape sequence. Thanks for letting me know about the fact that it's deprecated, I'll definitely be keeping that in mind going forward.

In a bash shell with the find command available, run the following command:

find . -type f -exec ls {} \;

You should see a list of files.

If you run this:

find . -type f -exec ls {} ;

You should see an error message from find:

"find: missing argument to `-exec'"

If I pass the first example in this message to shlex, I get no indication that the user attempted escaped the semi-colon in their input.
History
Date User Action Args
2019-05-14 01:12:01Matthew Gamblesetrecipients: + Matthew Gamble, eric.smith
2019-05-14 01:12:01Matthew Gamblesetmessageid: <1557796321.95.0.0316830197897.issue36897@roundup.psfhosted.org>
2019-05-14 01:12:01Matthew Gamblelinkissue36897 messages
2019-05-14 01:12:01Matthew Gamblecreate