[Python-Dev] Help needed: problems getting the expected default encoding for embedded IO config test (original) (raw)

Victor Stinner victor.stinner at gmail.com
Thu Oct 17 19:27:44 CEST 2013


sys.stdout.encoding must never be None, it must be a str. If it is None, it is a regression. I modified Python (maybe in 3.2) to ensure that .encoding is always set.

For your failure: what is the locale encoding? What are the values of LC_ALL, LANG, LC_CTYPES and PYTHONIOENCODING env vars?

I will try to reproduce the issue.

Victor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131017/bee93574/attachment.html>



More information about the Python-Dev mailing list