• Nick Coghlan's avatar
    bpo-28180: Implementation for PEP 538 (#659) · 6ea4186d
    Nick Coghlan yazdı
    - 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
    6ea4186d
pylifecycle.c 59.3 KB