This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author apatrushev
Recipients Stuart Cuthbertson, apatrushev, paul.moore, steve.dower, tim.golden, wolma, zach.ware
Date 2018-07-25.19:00:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1532545218.74.0.56676864532.issue33193@psf.upfronthosting.co.za>
In-reply-to
Content
I found when this "feature" was implemented:
gitff2d9b71547d95566416fa968872910ca9c4adb1

Part of commit message:
```
in command-line options, and in two phases at that: first, we expand
'install_base' and 'install_platbase', and then the other 'install_*'
options.  This lets us do tricky stuff like
    install --prefix='/tmp$sys_prefix'
...oooh, neat.
```

So this was intentional change in distutils.

The only suggestion I have to fix this issue without break something in the wild is to suppress exception in Lib/distutils/util.py:189 and leave variable without available substitutions as it is. To be on safe side this can be even optional and disabled by default.

I am newcomer so some guidance will be helpful.
History
Date User Action Args
2018-07-25 19:00:18apatrushevsetrecipients: + apatrushev, paul.moore, tim.golden, zach.ware, steve.dower, wolma, Stuart Cuthbertson
2018-07-25 19:00:18apatrushevsetmessageid: <1532545218.74.0.56676864532.issue33193@psf.upfronthosting.co.za>
2018-07-25 19:00:18apatrushevlinkissue33193 messages
2018-07-25 19:00:18apatrushevcreate