commit | 6ea4186de32d65b1f1dc1533b6312b798d300466 | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Sun Jun 11 13:16:15 2017 +1000 |
committer | GitHub <noreply@github.com> | Sun Jun 11 13:16:15 2017 +1000 |
tree | bac8387f2da20d5b6d5f74bb09fb5708d1fbd61e | |
parent | 0afbabe245e2eb6f7cef3b70531d69f2a7ad8295 [diff] |
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