Peter Otten <__pete...@web.de> added the comment:
To me the current shlex behaviour makes sense, and the shell (tested with bash) behaves the same way: $ python3 -c 'import sys; print(sys.argv)' a b ['-c', 'a', 'b'] $ python3 -c 'import sys; print(sys.argv)' a \ b ['-c', 'a', ' ', 'b'] ---------- nosy: +peter.otten _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35787> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com