scons icon indicating copy to clipboard operation
scons copied to clipboard

if your python is installed in a path which is a valid octal character code, runtest.py fails

Open bdbaddog opened this issue 7 years ago • 1 comments

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.

bdbaddog avatar Jan 02 '18 13:01 bdbaddog

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.

mwichmann avatar Dec 18 '23 19:12 mwichmann