[Python-checkins] [python/cpython] 6ea418: bpo-28180: Implementation for PEP 538 (#659)
GitHub
noreply at github.com
Sat Jun 10 23:16:17 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: 6ea4186de32d65b1f1dc1533b6312b798d300466
https://github.com/python/cpython/commit/6ea4186de32d65b1f1dc1533b6312b798d300466
Author: Nick Coghlan <ncoghlan at gmail.com>
Date: 2017-06-11 (Sun, 11 Jun 2017)
Changed paths:
M Doc/using/cmdline.rst
M Doc/whatsnew/3.7.rst
M Lib/test/support/script_helper.py
A Lib/test/test_c_locale_coercion.py
M Lib/test/test_capi.py
M Lib/test/test_cmd_line.py
M Lib/test/test_subprocess.py
M Lib/test/test_sys.py
M Misc/NEWS
M Programs/python.c
M Python/pylifecycle.c
M configure
M configure.ac
M pyconfig.h.in
Log Message:
-----------
bpo-28180: Implementation for PEP 538 (#659)
- new PYTHONCOERCECLOCALE config setting
- coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default
- always uses C.UTF-8 on Android
- uses `surrogateescape` on stdin and stdout in the coercion
target locales
- configure option to disable locale coercion at build time
- configure option to disable C locale warning at build time
More information about the Python-checkins
mailing list