Skip to content

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

Open
@bdbaddog

Description

@bdbaddog

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions