Eryk Sun <[email protected]> added the comment:
> 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.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43364>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com