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 eryksun
Recipients eryksun, methane, paul.moore, steve.dower, tim.golden, zach.ware
Date 2021-03-04.13:14:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614863679.11.0.998642661406.issue43364@roundup.psfhosted.org>
In-reply-to
Content
> 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.

Yes, if the installer directly sets an environment variable, then the setting should be specific to the installed version, such as PYTHONUTF8_310-32.

Maybe this could be implemented more generally by supporting a "PYTHONX_{py_version_short_plat}" environment variable that contains a list of -X implementation-specific boolean options to enable by default, e.g. set "PYTHONX_3.10-32=utf8;dev". In POSIX, name it "PYTHONX_{py_version_short}". In Windows, "{py_version_short_plat}" would be sys.winver.
History
Date User Action Args
2021-03-04 13:14:39eryksunsetrecipients: + eryksun, paul.moore, tim.golden, methane, zach.ware, steve.dower
2021-03-04 13:14:39eryksunsetmessageid: <1614863679.11.0.998642661406.issue43364@roundup.psfhosted.org>
2021-03-04 13:14:39eryksunlinkissue43364 messages
2021-03-04 13:14:38eryksuncreate