R. David Murray added the comment: 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. ---------- resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28391> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com