[issue13543] shlex with string ending in space gives "ValueError: No closing quotation"

R. David Murray report at bugs.python.org
Tue Dec 6 23:55:54 CET 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Why do you consider this to be a bug?  You set posix=False and whitespace_split=True, so it seems to me that according to the documented rules the " inside the word ("a is as documented not recognized as a quote character.  If you use either posix=True or whitespace_split=False the string parses without error.  (Since I have no idea what standard non-posix mode is based on, I have no idea whether or not this is in fact correct behavior, though.)

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list