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 brett.cannon
Recipients brett.cannon, donovick, paul.moore, steve.dower, tim.golden, vinay.sajip, zach.ware
Date 2019-06-21.17:08:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561136914.74.0.398899490249.issue37354@roundup.psfhosted.org>
In-reply-to
Content
> How will this interact with EnvBuilder.install_scripts() (which explicitly states that it performs textual substitution)?

It won't, so that would have to change as well. As you mentioned, Paul, I don't know who even uses the functionality through a subclass, but since this is a security consideration I think it's worth changing.

> Is it?

Sorry, misread what you were asking. You're right it's not stored, but it can be worked out in other ways, e.g. from the location of pyvenv.cfg or Activate.ps1, etc.

> So there could be code changes in venv too.

Yep, hence making the issue now so that others talking about adding more substitution ideas know that there's talk going the other way and removing the substitution abilities.

> This would be a great contribution from a PowerShell expert, and might be worth advertising (Twitter) for one.

Already have a co-worker interested in working on it.
History
Date User Action Args
2019-06-21 17:08:34brett.cannonsetrecipients: + brett.cannon, paul.moore, vinay.sajip, tim.golden, zach.ware, steve.dower, donovick
2019-06-21 17:08:34brett.cannonsetmessageid: <1561136914.74.0.398899490249.issue37354@roundup.psfhosted.org>
2019-06-21 17:08:34brett.cannonlinkissue37354 messages
2019-06-21 17:08:34brett.cannoncreate