On Thu, Feb 4, 2021 at 7:12 PM Inada Naoki <songofaca...@gmail.com> wrote:
> I 100% agree with you. And pyvenv.cfg satisfies all your needs. > oops, sorry i missed this -- maybe pyvenv.cfg will do the job. Though I'm a bit confused about how it might work outside of venv itself, which usually creates the pyvenv.cfg file. Would venv and other tools need to add / change the utf-8 mode key in the pyvenv.cfg file? (I note that that might be pretty straightforward with the use of the EnvBuilder class -- though not as easy as simply installing a file) One idea: could it simply look for a file called "UTF8-MODE" (it could be empty) next to python.exe? That would presumably be faster than having to actually open and read a file, and would be easy to install. - CHB -- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/SU4O6RN4QPNZSSX4BIFYRAXHZKWDNA4J/ Code of Conduct: http://python.org/psf/codeofconduct/