Message141238
> 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. |
|
Date |
User |
Action |
Args |
2011-07-27 16:03:14 | eric.araujo | set | recipients:
+ eric.araujo, georg.brandl, paul.moore, ianbicking, titus, gjb1002, janssen, eric.smith, pjenvey, r.david.murray, BreamoreBoy |
2011-07-27 16:03:14 | eric.araujo | set | messageid: <1311782594.2.0.0858768371239.issue1724822@psf.upfronthosting.co.za> |
2011-07-27 16:03:13 | eric.araujo | link | issue1724822 messages |
2011-07-27 16:03:13 | eric.araujo | create | |
|