Eric V. Smith <e...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36897>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to