Author tim.golden
Recipients paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-07-23.10:09:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
import nt, sys; assert sys.executable.startswith(nt._getvolumepathname(sys.executable))

This code fails only when run from the python.bat as created by pcbuild\build.bat. The obvious difference is that the batch file sets PYTHONHOME which, presumably, is used to form sys.executable (haven't checked the startup code yet).

The docs for GetVolumePathName [*] don't specify that the drive letter of the path returned will be upper-case, but it doesn't seem unlikely.

So... it looks as though the test is unduly sensitive to case-differences in the face of something like PYTHONHOME which affects the way in which sys.executable is formed.

Phew! I'll put a test patch together later...

Date User Action Args
2018-07-23 10:09:28tim.goldensetrecipients: + tim.golden, paul.moore, zach.ware, steve.dower
2018-07-23 10:09:28tim.goldensetmessageid: <>
2018-07-23 10:09:28tim.goldenlinkissue34195 messages
2018-07-23 10:09:28tim.goldencreate