Message264755
I was thinking more like this:
if DISTUTILS_USE_SDK:
assume PATH is configured
execute os.getenv("CC", "cl.exe") directly
else:
find VS in the registry
execute "cl.exe" etc.
The only change here from the current situation is preferring the CC variable in the former case when it is set. When we look up VS in the registry, we know what executable we are going to find and overriding them via the environment is only going to cause issues/vulnerabilities. |
|
Date |
User |
Action |
Args |
2016-05-03 18:50:29 | steve.dower | set | recipients:
+ steve.dower, paul.moore, tim.golden, eric.araujo, r.david.murray, zach.ware, dstufft, christopher.hogan, rohitjamuar |
2016-05-03 18:50:29 | steve.dower | set | messageid: <1462301429.76.0.682544432056.issue26876@psf.upfronthosting.co.za> |
2016-05-03 18:50:29 | steve.dower | link | issue26876 messages |
2016-05-03 18:50:29 | steve.dower | create | |
|