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 r.david.murray
Recipients Andrey.Kislyuk, acue, cvrebert, eric.araujo, eric.smith, ezio.melotti, python-dev, r.david.murray, robodan, vinay.sajip
Date 2016-10-09.05:04:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475989467.02.0.41508625703.issue28391@psf.upfronthosting.co.za>
In-reply-to
Content
Case 2 (the actual behavior) is correct.  Quotes *within* words are ignored, only a leading quoted string will result in a separate word.  (That's recursive: try '"Do""This""Separate).

That said, we don't really care about non-posix mode, it's just there for backward compatibility.  I don't know why we haven't changed the default for shlex.shlex to posix=True.
History
Date User Action Args
2016-10-09 05:04:27r.david.murraysetrecipients: + r.david.murray, vinay.sajip, eric.smith, robodan, ezio.melotti, eric.araujo, cvrebert, python-dev, Andrey.Kislyuk, acue
2016-10-09 05:04:27r.david.murraysetmessageid: <1475989467.02.0.41508625703.issue28391@psf.upfronthosting.co.za>
2016-10-09 05:04:26r.david.murraylinkissue28391 messages
2016-10-09 05:04:26r.david.murraycreate