New submission from Nick Coghlan:

This is a follow-up to PEP 538 that reflects the uncertainty over whether or 
not the warning on *successful* implicit locale coercion is a good idea.

The argument for this warning is that it alerts redistributors, system 
integrators, and application developers to the fact that LC_CTYPE may not be 
what they expect it to be.

The argument against it is that in many, and potentially even most, cases where 
the warning is omitted, there won't be any subsequent problems, and so the 
warning qualifies as a false alarm (especially for end users of applications 
that just happen to be written in Python), and the PEP 538 section in the .37 
What's New, together with the fact that "LC_CTYPE=C.UTF-8" (or similar) appears 
in the process environment can be considered sufficient notice of the change 
for debugging purposes.

The initial PEP 538 implementation at 
https://github.com/python/cpython/pull/659 includes the warning, this issue 
reflects the possibility that we may decide to reverse that decision prior to 
the release of Python 3.7.0.

----------
assignee: ncoghlan
messages: 295120
nosy: ncoghlan
priority: normal
severity: normal
status: open
title: PEP 538: default to skipping warning for implicit locale coercion?
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30565>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to