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, cheryl.sabella, steve.dower, vinay.sajip
Date 2019-01-15.17:44:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547574268.83.0.100728001769.issue35661@roundup.psfhosted.org>
In-reply-to
Content
First, Cheryl, thanks for taking this on!

I think one way to potentially simplify this whole situation about the whitespace for the prompt is to actually store the raw value that gets passed into EnvBuilder instead of the prompt as formatted for the activation scripts. I personally only want that initial value anyway and not the formatted version for the prompt for us in VS Code. Plus if we document that the value that we save in the pyvenv.cfg will be stripped then that should help with this.

Otherwise I say go with the repr as Steve suggested, but I would still like to have access to the unformatted value (and probably not bother setting it if a custom value isn't provided to facilitate relocating venvs).
History
Date User Action Args
2019-01-15 17:44:30brett.cannonsetrecipients: + brett.cannon, vinay.sajip, steve.dower, cheryl.sabella
2019-01-15 17:44:28brett.cannonsetmessageid: <1547574268.83.0.100728001769.issue35661@roundup.psfhosted.org>
2019-01-15 17:44:28brett.cannonlinkissue35661 messages
2019-01-15 17:44:28brett.cannoncreate