[issue29163] shlex error in posix mode and empty quotes

Evan report at bugs.python.org
Thu Jan 5 05:56:45 EST 2017


Evan added the comment:

This is also broken in 3.5.2, but not in 3.6.0:

>>> list(shlex.shlex('echo b="",echo bar', posix=True))
['echo', 'b', '=', '', ',', 'echo', 'bar']

I'm guessing it was fixed incidentally by the changes in issue1521950.

----------
versions: +Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29163>
_______________________________________


More information about the Python-bugs-list mailing list