[docs] [issue26124] shlex.quote and pipes.quote do not quote shell keywords

Fred L. Drake, Jr. report at bugs.python.org
Fri Jan 15 13:44:29 EST 2016

Fred L. Drake, Jr. added the comment:

It's not at all obvious that the intention is to ensure such an argument should be treated only as a command external to the shell.

If an application really wants to ensure the command is not handled as a shell built-in, it should use shell=False.

Making this clear in the documentation is reasonable.

nosy: +fdrake

Python tracker <report at bugs.python.org>

More information about the docs mailing list