Re: [Python-Dev] Testsuite fails on Windows if a space is in the path

2006-09-18 Thread Giovanni Bajo
Martin v. Löwis wrote: >> People are well-advised to accept the installer's default directory. > > That's very true, but difficult to communicate. Too many people > actually > complain about that, and some even bring reasonable arguments (such > as the ACL in c:\ being too permissive for a softwar

Re: [Python-Dev] Testsuite fails on Windows if a space is in the path

2006-09-18 Thread Martin v. Löwis
Tim Peters schrieb: > These are the MS docs for cmd.exe's inscrutable quoting rules after /C: > > """ > If /C or /K is specified, then the remainder of the command line after > the switch is processed as a command line, where the following logic is > used to process quote (") characters: > >

Re: [Python-Dev] Testsuite fails on Windows if a space is in the path

2006-09-18 Thread Martin v. Löwis
Jean-Paul Calderone schrieb: > You can find the quoting/dequoting rules used by cmd.exe documented on msdn: > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_pluslang_Parsing_C.2b2b_.Command.2d.Line_Arguments.asp > > Interpreting them is something of a challenge (m

Re: [Python-Dev] Testsuite fails on Windows if a space is in the path

2006-09-16 Thread Tim Peters
[Martin v. Löwis] > ... > Can somebody remember what the reason is to invoke cmd.exe (or COMSPEC) > in os.popen? Absolutely necessary, as any number of shell gimmicks can be used in the passed string, same as on non-Windows boxes; .e.g., >>> import os >>> os.environ['STR'] = 'SSL' >>> p = os.pope

Re: [Python-Dev] Testsuite fails on Windows if a space is in the path

2006-09-16 Thread Steve Holden
Martin v. Löwis wrote: > The test suite currently (2.5) has two failures on Windows > if Python is installed into a directory with a space in it > (such as "Program Files"). The failing tests are test_popen > and test_cmd_line. > > The test_cmd_line failure is shallow: the test fails to properly >

Re: [Python-Dev] Testsuite fails on Windows if a space is in the path

2006-09-16 Thread Jean-Paul Calderone
On Sat, 16 Sep 2006 19:22:34 +0200, "\"Martin v. Löwis\"" <[EMAIL PROTECTED]> wrote: >The test suite currently (2.5) has two failures on Windows >if Python is installed into a directory with a space in it >(such as "Program Files"). The failing tests are test_popen >and test_cmd_line. > >The test_

[Python-Dev] Testsuite fails on Windows if a space is in the path

2006-09-16 Thread Martin v. Löwis
The test suite currently (2.5) has two failures on Windows if Python is installed into a directory with a space in it (such as "Program Files"). The failing tests are test_popen and test_cmd_line. The test_cmd_line failure is shallow: the test fails to properly quote sys.executable when passing it