Implemented posix-mode parsing support in shlex.py, as dicussed in mailing list, and in patch #722686.