As long as we don't encounter sys.flags.pen_is_mightier type of cases, I guess it'll be OK. :-)
Environment variable names with underscore would be more readable, but
IMO consistency with all existing names matters more:
So I prefer PYTHONWARNDEFAULTENCODING env var and
sys.flags.warn_default_encoding attribute names.
Victor
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?
---