[Python-Dev] PEP 538 warning at startup: please remove it

Antoine Pitrou solipsis at pitrou.net
Mon Jun 12 05:08:09 EDT 2017


On Mon, 12 Jun 2017 10:56:31 +0200
Victor Stinner <victor.stinner at gmail.com> wrote:
> Hi,
> 
> Nick Coghlan pushed his implementation of his PEP 538: nice! Nice step
> forward to UTF-8 everywhere ;-)
> 
> I would prefer to not be annoyed by warning messages about encodings
> at startup if possible:
> 
> "Python detected LC_CTYPE=C: LC_CTYPE coerced to C.UTF-8 (set another
> locale or PYTHONCOERCECLOCALE=0 to disable this locale coercion
> behavior)."

+1 for muting this warning.

Regards

Antoine.




More information about the Python-Dev mailing list