STINNER Victor <vstin...@redhat.com> added the comment:

> (...) the locale should be coerced before *ANY* calls are made to 
> Py_DecodeLocale, as the whole point of the architecture of the PEP 
> implementation was to ensure that *nothing ever gets decoded incorrectly in 
> the first place*.

See my comment:
https://github.com/python/cpython/pull/9073#issuecomment-420461537

----------

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

Reply via email to