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 steve.dower
Recipients eryksun, methane, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-03-02.22:47:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614725257.35.0.962962218519.issue43364@roundup.psfhosted.org>
In-reply-to
Content
For modifying an environment variable, please clone the entire path MSI and use an Environment element to update it. Should be a little simpler than that one, because it's a constant.

I'm always very hesitant to modify system-wide (or user-wide) settings like this though. I'd be more comfortable if we made it a PYTHONUTF8_310 variable that _only_ applies to that specific version. Otherwise someone might install an update and break existing apps.

Alternatively, for this kind of policy option, it might be nice to set up some common registry keys to define it. That is a function I've been thinking about for enabling some security features (such as malware scanning), and it mimics how Windows distributes its own configuration already. That'll take a whole PEP, though, and I doubt I'll get it ready in time for 3.10 given the other stuff I've got going on right now.

So provided we adequately document that the setting may impact other versions of Python besides the one being installed, and it's not enabled by default, I'm okay with an MSI-based addable/removable setting for PYTHONUTF8.
History
Date User Action Args
2021-03-02 22:47:37steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, methane, zach.ware, eryksun
2021-03-02 22:47:37steve.dowersetmessageid: <1614725257.35.0.962962218519.issue43364@roundup.psfhosted.org>
2021-03-02 22:47:37steve.dowerlinkissue43364 messages
2021-03-02 22:47:36steve.dowercreate