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 <songofaca...@gmail.com> wrote: > > On Mon, Feb 15, 2021 at 3:00 PM Paul Bryan <pbr...@anode.ca> 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 <songofaca...@gmail.com> -- Night gathers, and now my watch begins. It shall not end until my death. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/SVSPIQFLTLDAYXP3PUXI3F4JZYOB6472/ Code of Conduct: http://python.org/psf/codeofconduct/