[issue36897] shlex doesn't differentiate escaped characters in output

Eric V. Smith report at bugs.python.org
Mon May 13 16:21:17 EDT 2019


Eric V. Smith <eric at trueblade.com> added the comment:

The goal is to match posix shell semantics. Can you provide a concrete example where shlex.shlex does something different from a posix-compliant shell? With all the escaping, it's going to be tough.

Note also that your code raises a DeprecationWarning in 3.7, at least, and will be an error in the future. You should probably use r-strings in your examples.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36897>
_______________________________________


More information about the Python-bugs-list mailing list