[New-bugs-announce] [issue36245] PCBuild/build.bat errors, probably from space characters in paths

Jess report at bugs.python.org
Fri Mar 8 16:28:39 EST 2019


New submission from Jess <jess at gmail.com>:

Have a fix for this that I'll send off shortly.

What I see with the current head (my username was replaced with "Foo Bar" in this example:
> Using "C:\Users\Foo Bar\cpython\PCbuild\\..\externals\pythonx86\tools\python.exe" (found in externals directory)
> Bar\cpython\PCbuild\\..\externals\pythonx86\tools\python.exe""=="" was unexpected at this time.

My theory, window's turning:
> C:\Users\Foo Bar
into
> "C:\Users\Foo Bar"
and this is colliding with our use of "%PYTHON%", creating double quotes, or:
> ""C:\Users\Foo Bar""
which, of course:
> if ""C:\Users\Foo Bar""==""
does not make sense as a statement.

----------
components: Windows
messages: 337530
nosy: Jess, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: PCBuild/build.bat errors, probably from space characters in paths
type: compile error

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36245>
_______________________________________


More information about the New-bugs-announce mailing list