This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michal Ostrowski
Recipients Michal Ostrowski
Date 2017-01-05.01:27:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483579631.92.0.342698548142.issue29163@psf.upfronthosting.co.za>
In-reply-to
Content
Three examples below.  I believe the second is wrong, because it reorders
the "echo" and "," tokens.

>>> list(shlex.shlex('echo b="a",echo bar', posix=True))
['echo', 'b', '=', 'a', ',', 'echo', 'bar']
>>> list(shlex.shlex('echo b="",echo bar', posix=True))
['echo', 'b', '=', 'echo', ',', 'bar']
>>> list(shlex.shlex('echo b="",echo bar'))
['echo', 'b', '=', '""', ',', 'echo', 'bar']
History
Date User Action Args
2017-01-05 01:27:12Michal Ostrowskisetrecipients: + Michal Ostrowski
2017-01-05 01:27:11Michal Ostrowskisetmessageid: <1483579631.92.0.342698548142.issue29163@psf.upfronthosting.co.za>
2017-01-05 01:27:11Michal Ostrowskilinkissue29163 messages
2017-01-05 01:27:10Michal Ostrowskicreate