if your python is installed in a path which is a valid octal character code, runtest.py fails
This issue was originally created at: 2009-10-28 14:57:00.
This issue was reported by: bdbaddog.
bdbaddog said at 2009-10-28 14:57:00
Greetings,
Found this nice one today: Python installed in : t:\python\240\
%(python)s in test.write() expands to cccom = '"T:\python\240\python.exe" fake_cl.py $_MSVC_OUTPUT_FLAG $CHANGED_SOURCES'
For example.
The \240 gets translated to octal character, and then python can't be found. Need to change string to raw? cccom = r'"T:\python\240\python.exe" fake_cl.py $_MSVC_OUTPUT_FLAG $CHANGED_SOURCES'
Maybe?
gregnoel said at 2009-12-16 15:39:26
Bug party triage.
I suspect this is fixed, there's been a lot of care to make sure rawstrings are used everywhere where Python is launched. Assign to self to check later.