Environment variable names with underscore would be more readable, but
IMO consistency with all existing names matters more:
https://docs.python.org/dev/using/cmdline.html#environment-variables

So I prefer PYTHONWARNDEFAULTENCODING env var and
sys.flags.warn_default_encoding attribute names.

Victor

On Fri, Feb 19, 2021 at 9:48 AM Inada Naoki <[email protected]> wrote:
>
> On Mon, Feb 15, 2021 at 3:00 PM Paul Bryan <[email protected]> wrote:
> >
> > Let the bikeshedding begin. How about with the underscores in place? More 
> > readable to my eyes.
> >
>
> I agree with you. Although it is not consistent with existing many
> option names, it is much more readable.
>
> Ivan, Victor, what do you think? about PYTHON_WARN_DEFAULT_ENCODING?
>
> ---
> Inada Naoki  <[email protected]>



-- 
Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/SVSPIQFLTLDAYXP3PUXI3F4JZYOB6472/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to