This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lazka
Recipients lazka
Date 2019-11-02.13:14:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572700464.48.0.125378742934.issue38667@roundup.psfhosted.org>
In-reply-to
Content
Python 3.7.5rc1 and 3.8.0 on Ubuntu 19.10

$ LC_CTYPE=C PYTHONCOERCECLOCALE=warn python3 -c "import sys; print(sys.getfilesystemencoding())"
Python detected LC_CTYPE=C: LC_CTYPE coerced to C.UTF-8 (set another locale or PYTHONCOERCECLOCALE=0 to disable this locale coercion behavior).
utf-8

$ LC_CTYPE=C PYTHONCOERCECLOCALE=0 python3 -c "import sys; print(sys.getfilesystemencoding())"   
utf-8

The warning states that passing PYTHONCOERCECLOCALE=0 disables the coercion, but it doesn't change anything in 3.7 and 3.8.

What am I missing?
History
Date User Action Args
2019-11-02 13:14:24lazkasetrecipients: + lazka
2019-11-02 13:14:24lazkasetmessageid: <1572700464.48.0.125378742934.issue38667@roundup.psfhosted.org>
2019-11-02 13:14:24lazkalinkissue38667 messages
2019-11-02 13:14:24lazkacreate