• Nick Coghlan's avatar
    bpo-30565: Add PYTHONCOERCECLOCALE=warn runtime flag (GH-2260) · eb81795d
    Nick Coghlan authored
    - removes PY_WARN_ON_C_LOCALE build time flag
    - locale coercion and compatibility warnings are now always compiled
      in, but are off by default
    - adds PYTHONCOERCECLOCALE=warn runtime option to aid in
      debugging potentially locale related compatibility problems
    
    Due to not-yet-resolved test failures on *BSD systems (including
    Mac OS X), this also temporarily disables UTF-8 as a locale coercion
    target, and skips testing the interpreter's behavior in the POSIX locale.
    eb81795d
3.7.rst 15.6 KB