On Mon, Feb 8, 2021 at 3:58 PM Christopher Barker <python...@gmail.com> wrote:
>
>> Should we support it in Unix? I don't think so.
>> Command-line and environment variables are easy to use on Unix.
>
>
> maybe, but we have many of the same issues -- we want the configuration tied 
> to the environment, not to the user and all environments. And I'd rather have 
> things done the same way on all platforms, rather than the native way on each 
> platform, if I have to make a choice. That is, if there is a way to configure 
> Python on Windows, I'd really like the SAME way to be available on all 
> platforms.
>

On Unix, there are N ways (e.g. .envrc). N+1 way is really worthwhile?
At least, `python.cfg` (or `python.ini`) in bin/ directory is not good
for Unix environment.


>>
>> And beginners should use a UTF-8 locale.
>
> Beginners may not know how to do that / have a choice.
>
> This is a question I still don't know the answer to -- I think that most 
> (all?) non Windows platforms currently supported use utf-8 -- but is that 
> guaranteed? That is, might some platform come up that does need utf-8 mode? 
> So why not have it available everywhere, even though it will be a no-op on 
> most systems.
>

UTF-8 mode is provided for Unix because there is environments for
*deployment*, like minimal Unix container image. They have only C
locale.

For desktop use, I think all Unix environments suited for beginners
use UTF-8 locale by default.
There is no guarantee. But if default locale is not UTF-8, I don't
think the environment is suited for beginners who learning to Python.

Regards,

-- 
Inada Naoki  <songofaca...@gmail.com>
_______________________________________________
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/3H7IX6MRFOH3ILZNLXRV6QSKAKVDILLJ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to