Thank you for all. I finally submit the PEP 597 with PYTHONWARNDEFAULTENCODING / warn_default_encoding.
On Mon, Feb 15, 2021 at 2:28 PM Inada Naoki <songofaca...@gmail.com> wrote: > > I am updating PEP 597 to include discussions in the thread. > Before finishing the PEP, I need to decide the option name. > > I used PYTHONWARNDEFAULTENCODING (envvar name) / > warn_default_encoding (-X option and sys.flags name) before, but it > seems too long and hard to type, easy to misspell. > > Currently, I use PYTHONWARNENCODING / warn_encoding, but it is not so > explicit. > > Which name is the best balance between explicitness and readability? > > * PYTHONWARNENCODING / warn_ecoding > * PYTHONWARNOMITENCODING / warn_omit_encoding > * PYTHONWARNDEFAULTENCODING / warn_default_encoding > * Anything else > > Regards, > -- > Inada Naoki <songofaca...@gmail.com> -- Inada Naoki <songofaca...@gmail.com> _______________________________________________ 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/AX3YE6AM7FVV44GNQLDAFMSBWRZFWR4B/ Code of Conduct: http://python.org/psf/codeofconduct/