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 eric.araujo
Recipients BreamoreBoy, eric.araujo, eric.smith, georg.brandl, gjb1002, ianbicking, janssen, paul.moore, pjenvey, r.david.murray, titus
Date 2011-07-27.16:03:13
SpamBayes Score 4.6658755e-07
Marked as misclassified No
Message-id <1311782594.2.0.0858768371239.issue1724822@psf.upfronthosting.co.za>
In-reply-to
Content
> But surely it's not named "POSIX mode" for no reason. It's because
> those rules resemble those of the UNIX shell. While "non-POSIX mode"
> resemble those of non-POSIX shells, such as DOS.

Not exactly: when it comes to parsing, shells on POSIX systems don’t always follow the POSIX rules.  The non-POSIX/POSIX modes in shlex mimic that.

In #9723, it was agreed to move the undocumented pipes.quote function into the shlex module.  I think we could move list2commandline from subprocess into shlex too (that’s probably another report, but I’m saying it here because Philip mentioned it), and also provide a Windows-compliant split function in shlex.
History
Date User Action Args
2011-07-27 16:03:14eric.araujosetrecipients: + eric.araujo, georg.brandl, paul.moore, ianbicking, titus, gjb1002, janssen, eric.smith, pjenvey, r.david.murray, BreamoreBoy
2011-07-27 16:03:14eric.araujosetmessageid: <1311782594.2.0.0858768371239.issue1724822@psf.upfronthosting.co.za>
2011-07-27 16:03:13eric.araujolinkissue1724822 messages
2011-07-27 16:03:13eric.araujocreate