PEP 597 bikeshedding: envvar / option name.
14 Feb
2021
14 Feb
'21
9:28 p.m.
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
1151
Age (days ago)
1158
Last active (days ago)
7 comments
4 participants
participants (4)
-
Inada Naoki
-
Ivan Pozdeev
-
Paul Bryan
-
Victor Stinner